#CFB04F#CFB04F
#CFB04F is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.121 H 91.6°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB04F |
|---|---|
| RGB | rgb(207, 176, 79) |
| HSL | hsl(45, 57%, 56%) |
| HSV | hsv(45, 62%, 81%) |
| CMYK | cmyk(0%, 15%, 61.8%, 18.8%) |
| CIE-LAB | lab(72.81, 0.03, 52.64) |
| CIE-LCH | lch(72.81, 52.64, 89.96°) |
| OKLab | oklab(76.57% -0.0033 0.121) |
| OKLCH | oklch(76.57% 0.121 91.6) |
| XYZ | xyz(42.6707, 44.8829, 13.8113) |
| Luminance | 0.4488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.24
Mustard
#DBB42C
ΔE00 4.60
Tan (survey)
#D1B26F
ΔE00 5.17
Sandy Brown
#C4A661
ΔE00 5.26
Burnt Yellow
#D5AB09
ΔE00 5.70
Gold (survey)
#DBB40C
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB04F #4F6ECF
analogous
#CF704F #CFB04F #AECF4F
triadic
#CFB04F #4FCFB0 #B04FCF
tetradic
#CFB04F #4FCF70 #4F6ECF #CF4FAE
square
#CFB04F #4FCF70 #4F6ECF #CF4FAE
split-complementary
#CFB04F #4FAECF #704FCF
monochromatic
#816A23 #B19230 #CFB04F #DCC67F #E9DBAF
Accessibility & contrast
On white
2.11
#CFB04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#CFB04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB04F
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB04F | 1.00 | 2.11 | 9.98 | 9.98 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C9B653
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfb04f; /* rgb */ color: rgb(207, 176, 79); /* oklch */ color: oklch(76.6% 0.121 91.6);
Tailwind
colors: {
custom: {
50: '#e1c784',
500: '#cfb04f',
950: '#000000',
},
}SCSS
$custom: #cfb04f; $custom-light: #e1c784; $custom-dark: #000000;
JSON
{
"hex": "#cfb04f",
"rgb": {
"r": 207,
"g": 176,
"b": 79
},
"hsl": {
"h": 45.469,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.76574,
"c": 0.12108,
"h": 91.6
},
"luminance": 0.44881
}Semantic roles & 50–950 ramp
primary
#CFB04F
secondary
#A2AFD7
accent
#6CE047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C