#CFB74E#CFB74E
#CFB74E is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.127 H 96.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB74E |
|---|---|
| RGB | rgb(207, 183, 78) |
| HSL | hsl(49, 57%, 56%) |
| HSV | hsv(49, 62%, 81%) |
| CMYK | cmyk(0%, 11.6%, 62.3%, 18.8%) |
| CIE-LAB | lab(74.63, -3.71, 55.09) |
| CIE-LCH | lch(74.63, 55.21, 93.86°) |
| OKLab | oklab(78% -0.0142 0.1261) |
| OKLCH | oklch(78% 0.127 96.4) |
| XYZ | xyz(44.0427, 47.6845, 14.0904) |
| Luminance | 0.4768 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.92
Mustard (survey)
#CEB301
ΔE00 5.22
Brownish Yellow
#C9B003
ΔE00 5.22
Dark Yellow
#D5B60A
ΔE00 5.27
Desert
#CCAD60
ΔE00 5.48
Mustard Yellow
#D2BD0A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB74E #4E66CF
analogous
#CF764E #CFB74E #A6CF4E
triadic
#CFB74E #4ECFB7 #B74ECF
tetradic
#CFB74E #4ECF76 #4E66CF #CF4EA6
square
#CFB74E #4ECF76 #4E66CF #CF4EA6
split-complementary
#CFB74E #4EA6CF #764ECF
monochromatic
#806F23 #B09830 #CFB74E #DCCB7E #E9DEAE
Accessibility & contrast
On white
1.99
#CFB74E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#CFB74E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB74E
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB74E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB74E | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B342
Deuteranopia (green-blind)
#CEBB53
Tritanopia (blue-blind)
#DEAAA0
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cfb74e; /* rgb */ color: rgb(207, 183, 78); /* oklch */ color: oklch(78.0% 0.127 96.4);
Tailwind
colors: {
custom: {
50: '#e1cc84',
500: '#cfb74e',
950: '#000000',
},
}SCSS
$custom: #cfb74e; $custom-light: #e1cc84; $custom-dark: #000000;
JSON
{
"hex": "#cfb74e",
"rgb": {
"r": 207,
"g": 183,
"b": 78
},
"hsl": {
"h": 48.837,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.78002,
"c": 0.12693,
"h": 96.4
},
"luminance": 0.47682
}Semantic roles & 50–950 ramp
primary
#CFB74E
secondary
#A2ACD7
accent
#64E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C