#CFB254#CFB254
#CFB254 is a light, moderate yellow. Relative luminance 0.457; OKLCH L 77.0% C 0.118 H 92.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB254 |
|---|---|
| RGB | rgb(207, 178, 84) |
| HSL | hsl(46, 56%, 57%) |
| HSV | hsv(46, 59%, 81%) |
| CMYK | cmyk(0%, 14%, 59.4%, 18.8%) |
| CIE-LAB | lab(73.38, -0.67, 50.96) |
| CIE-LCH | lch(73.38, 50.96, 90.76°) |
| OKLab | oklab(77.04% -0.0047 0.1181) |
| OKLCH | oklch(77.04% 0.118 92.3) |
| XYZ | xyz(43.2547, 45.7485, 14.9378) |
| Luminance | 0.4575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.14
Tan (survey)
#D1B26F
ΔE00 4.86
Mustard
#DBB42C
ΔE00 5.07
Sandy Brown
#C4A661
ΔE00 5.27
Sand (survey)
#E2CA76
ΔE00 6.37
Sand Brown
#CBA560
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB254 #5471CF
analogous
#CF7554 #CFB254 #AECF54
triadic
#CFB254 #54CFB2 #B254CF
tetradic
#CFB254 #54CF75 #5471CF #CF54AE
square
#CFB254 #54CF75 #5471CF #CF54AE
split-complementary
#CFB254 #54AECF #7554CF
monochromatic
#846D25 #B39532 #CFB254 #DCC884 #EADDB4
Accessibility & contrast
On white
2.07
#CFB254 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#CFB254 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB254
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB254 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB254 | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AF4B
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#DEA59D
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb254; /* rgb */ color: rgb(207, 178, 84); /* oklch */ color: oklch(77.0% 0.118 92.3);
Tailwind
colors: {
custom: {
50: '#e1c887',
500: '#cfb254',
950: '#000000',
},
}SCSS
$custom: #cfb254; $custom-light: #e1c887; $custom-dark: #000000;
JSON
{
"hex": "#cfb254",
"rgb": {
"r": 207,
"g": 178,
"b": 84
},
"hsl": {
"h": 45.854,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.77038,
"c": 0.11818,
"h": 92.3
},
"luminance": 0.45746
}Semantic roles & 50–950 ramp
primary
#CFB254
secondary
#A6B2D8
accent
#6CDF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C