#CFB04E#CFB04E
#CFB04E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.122 H 91.7°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB04E |
|---|---|
| RGB | rgb(207, 176, 78) |
| HSL | hsl(46, 57%, 56%) |
| HSV | hsv(46, 62%, 81%) |
| CMYK | cmyk(0%, 15%, 62.3%, 18.8%) |
| CIE-LAB | lab(72.81, -0.03, 53.09) |
| CIE-LCH | lch(72.81, 53.09, 90.04°) |
| OKLab | oklab(76.56% -0.0036 0.1219) |
| OKLCH | oklch(76.56% 0.122 91.7) |
| XYZ | xyz(42.6346, 44.8684, 13.6211) |
| Luminance | 0.4487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.38
Mustard
#DBB42C
ΔE00 4.49
Tan (survey)
#D1B26F
ΔE00 5.31
Sandy Brown
#C4A661
ΔE00 5.38
Burnt Yellow
#D5AB09
ΔE00 5.59
Gold (survey)
#DBB40C
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB04E #4E6DCF
analogous
#CF6F4E #CFB04E #AECF4E
triadic
#CFB04E #4ECFB0 #B04ECF
tetradic
#CFB04E #4ECF6F #4E6DCF #CF4EAE
square
#CFB04E #4ECF6F #4E6DCF #CF4EAE
split-complementary
#CFB04E #4EAECF #6F4ECF
monochromatic
#806A23 #B09130 #CFB04E #DCC57E #E9DBAE
Accessibility & contrast
On white
2.11
#CFB04E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#CFB04E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB04E
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB04E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB04E | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD43
Deuteranopia (green-blind)
#C9B652
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfb04e; /* rgb */ color: rgb(207, 176, 78); /* oklch */ color: oklch(76.6% 0.122 91.7);
Tailwind
colors: {
custom: {
50: '#e1c783',
500: '#cfb04e',
950: '#000000',
},
}SCSS
$custom: #cfb04e; $custom-light: #e1c783; $custom-dark: #000000;
JSON
{
"hex": "#cfb04e",
"rgb": {
"r": 207,
"g": 176,
"b": 78
},
"hsl": {
"h": 45.581,
"s": 57.333,
"l": 55.882
},
"oklch": {
"l": 0.76564,
"c": 0.12191,
"h": 91.7
},
"luminance": 0.44866
}Semantic roles & 50–950 ramp
primary
#CFB04E
secondary
#A2AFD7
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C