#CFB04D#CFB04D
#CFB04D is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.6% C 0.123 H 91.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB04D |
|---|---|
| RGB | rgb(207, 176, 77) |
| HSL | hsl(46, 58%, 56%) |
| HSV | hsv(46, 63%, 81%) |
| CMYK | cmyk(0%, 15%, 62.8%, 18.8%) |
| CIE-LAB | lab(72.80, -0.10, 53.53) |
| CIE-LCH | lch(72.80, 53.53, 90.11°) |
| OKLab | oklab(76.55% -0.0039 0.1227) |
| OKLCH | oklch(76.55% 0.123 91.8) |
| XYZ | xyz(42.5990, 44.8542, 13.4337) |
| Luminance | 0.4485 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.51
Mustard
#DBB42C
ΔE00 4.38
Tan (survey)
#D1B26F
ΔE00 5.44
Burnt Yellow
#D5AB09
ΔE00 5.48
Sandy Brown
#C4A661
ΔE00 5.50
Gold (survey)
#DBB40C
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB04D #4D6CCF
analogous
#CF6F4D #CFB04D #ADCF4D
triadic
#CFB04D #4DCFB0 #B04DCF
tetradic
#CFB04D #4DCF6F #4D6CCF #CF4DAD
square
#CFB04D #4DCF6F #4D6CCF #CF4DAD
split-complementary
#CFB04D #4DADCF #6F4DCF
monochromatic
#7F6922 #AF912F #CFB04D #DCC57D #E9DBAD
Accessibility & contrast
On white
2.11
#CFB04D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#CFB04D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB04D
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB04D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB04D | 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)
#C2AD42
Deuteranopia (green-blind)
#C9B651
Tritanopia (blue-blind)
#DFA39B
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfb04d; /* rgb */ color: rgb(207, 176, 77); /* oklch */ color: oklch(76.6% 0.123 91.8);
Tailwind
colors: {
custom: {
50: '#e1c783',
500: '#cfb04d',
950: '#000000',
},
}SCSS
$custom: #cfb04d; $custom-light: #e1c783; $custom-dark: #000000;
JSON
{
"hex": "#cfb04d",
"rgb": {
"r": 207,
"g": 176,
"b": 77
},
"hsl": {
"h": 45.692,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.76553,
"c": 0.12273,
"h": 91.8
},
"luminance": 0.44852
}Semantic roles & 50–950 ramp
primary
#CFB04D
secondary
#A1AED7
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C