#CFB04A#CFB04A
#CFB04A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.5% C 0.125 H 92.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB04A |
|---|---|
| RGB | rgb(207, 176, 74) |
| HSL | hsl(46, 58%, 55%) |
| HSV | hsv(46, 64%, 81%) |
| CMYK | cmyk(0%, 15%, 64.3%, 18.8%) |
| CIE-LAB | lab(72.77, -0.29, 54.85) |
| CIE-LCH | lch(72.77, 54.85, 90.31°) |
| OKLab | oklab(76.52% -0.0048 0.125) |
| OKLCH | oklch(76.52% 0.125 92.2) |
| XYZ | xyz(42.4955, 44.8128, 12.8886) |
| Luminance | 0.4481 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.90
Mustard
#DBB42C
ΔE00 4.07
Burnt Yellow
#D5AB09
ΔE00 5.17
Gold (survey)
#DBB40C
ΔE00 5.48
Brownish Yellow
#C9B003
ΔE00 5.59
Dark Yellow
#D5B60A
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB04A #4A69CF
analogous
#CF6D4A #CFB04A #ACCF4A
triadic
#CFB04A #4ACFB0 #B04ACF
tetradic
#CFB04A #4ACF6D #4A69CF #CF4AAC
square
#CFB04A #4ACF6D #4A69CF #CF4AAC
split-complementary
#CFB04A #4AACCF #6D4ACF
monochromatic
#7D6821 #AE902E #CFB04A #DCC57A #E9DAAB
Accessibility & contrast
On white
2.11
#CFB04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#CFB04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB04A
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB04A | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#DFA39A
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cfb04a; /* rgb */ color: rgb(207, 176, 74); /* oklch */ color: oklch(76.5% 0.125 92.2);
Tailwind
colors: {
custom: {
50: '#e1c781',
500: '#cfb04a',
950: '#000000',
},
}SCSS
$custom: #cfb04a; $custom-light: #e1c781; $custom-dark: #000000;
JSON
{
"hex": "#cfb04a",
"rgb": {
"r": 207,
"g": 176,
"b": 74
},
"hsl": {
"h": 46.015,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.76523,
"c": 0.12513,
"h": 92.2
},
"luminance": 0.4481
}Semantic roles & 50–950 ramp
primary
#CFB04A
secondary
#9FACD6
accent
#6BE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C