CSS named colour
Beige
#f5f5dc
A CSS named colour: beige is valid anywhere a colour is expected.
- RGB
- rgb(245 245 220)
- HSL
- 60°, 56%, 91%
- OKLCh
- 96.4% 0.033 107.0
Beige in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #f5f5dc | |
|---|---|---|
| RGB | rgb(245 245 220) | |
| RGB legacy | rgb(245, 245, 220) | |
| RGB percent | rgb(96.08% 96.08% 86.27%) | |
| HSL | hsl(60 55.6% 91.2%) | |
| HSL legacy | hsl(60, 55.6%, 91.2%) | |
| HSV / HSB | hsv(60, 10.2%, 96.1%) | |
| HWB | hwb(60 86.3% 3.9%) | |
| Nearest name | beige | |
| CMYK | cmyk(0%, 0%, 10.2%, 3.9%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(96.357% 0.03278 106.999)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(96.357% -0.00958 0.03135) | |
| CIE LCh | lch(96.044% 12.489 104.442) | |
| CIE Lab | lab(96.044% -3.115 12.095) | |
| Display P3 | color(display-p3 0.9608 0.9608 0.8721) | |
| Rec. 2020 | color(rec2020 0.9515 0.9548 0.8585) | |
| srgb-linear | color(srgb-linear 0.9131 0.9131 0.7157)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.8322 0.8988 0.8068) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.961, 0.961, 0.863)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.913, 0.913, 0.716)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.961, 0.961, 0.863, 1.0) | |
| GLSL vec4 — linear | vec4(0.913, 0.913, 0.716, 1.0) | |
| GLSL ivec3 | ivec3(245, 245, 220) | |
| HLSL float3 — sRGB | float3(0.961, 0.961, 0.863) | |
| HLSL float3 — linear | float3(0.913, 0.913, 0.716) | |
| HLSL float4 — sRGB | float4(0.961, 0.961, 0.863, 1.0) | |
| HLSL half4 — sRGB | half4(0.961, 0.961, 0.863, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.961, 0.961, 0.863) | |
| WGSL vec4f — sRGB | vec4f(0.961, 0.961, 0.863, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.913, 0.913, 0.716) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.961f, 0.961f, 0.863f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(245, 245, 220, 255) | |
| Unreal FLinearColor | FLinearColor(0.9131f, 0.9131f, 0.7157f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(245, 245, 220, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.961, 0.961, 0.863, 1) | |
| Flutter Color | Color(0xFFF5F5DC)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(245, 245, 220) | |
| SwiftUI Color | Color(red: 0.961, green: 0.961, blue: 0.863) | |
| UIKit UIColor | UIColor(red: 0.961, green: 0.961, blue: 0.863, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xF5F5DC | |
|---|---|---|
| 0x hex (ARGB) | 0xFFF5F5DC | |
| Array 0–1 | [0.961, 0.961, 0.863] | |
| Array 0–255 | [245, 245, 220] | |
| Decimal integer | 16119260 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Beige on white | 1.11:1 | Fail | Lc 0 | Not usable for text |
| Beige on black | 18.98:1 | AAA | Lc 100 | Body text at any size |
Beige text on a white background
Beige text on a black background
White text on Beige
Black text on Beige
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#f9f9e6
- 100#efefdc
- 200#dedeca
- 300#c7c7b2
- 400#abab94
- 500#8d8d76
- 600#73735e
- 700#5c5c49
- 800#494937
- 900#393929
- 950#202014
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#f7f7e2
- Tint 2#f8f8e8
- Tint 3#fafaee
- Tint 4#fcfcf3
- Tint 5#fdfdf9
- Shade 1#c0c0ac
- Shade 2#8e8e7f
- Shade 3#5f5f54
- Shade 4#34342d
- Shade 5#0e0e0b
Colours that work with Beige
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #f1f0ff
- #ddf8ff
- #ffebf7
- #fff1db
- #e9f9e3
Closest CSS names
beigeexact matchcornsilkΔEok 0.016oldlaceΔEok 0.018papayawhipΔEok 0.018lightgoldenrodyellowΔEok 0.022linenΔEok 0.023