#CFAD36#CFAD36
#CFAD36 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.7% C 0.137 H 92.4°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAD36 |
|---|---|
| RGB | rgb(207, 173, 54) |
| HSL | hsl(47, 61%, 51%) |
| HSV | hsv(47, 74%, 81%) |
| CMYK | cmyk(0%, 16.4%, 73.9%, 18.8%) |
| CIE-LAB | lab(71.84, 0.22, 62.15) |
| CIE-LCH | lch(71.84, 62.15, 89.79°) |
| OKLab | oklab(75.74% -0.0057 0.137) |
| OKLCH | oklch(75.74% 0.137 92.4) |
| XYZ | xyz(41.3438, 43.4213, 9.6928) |
| Luminance | 0.4342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.81
Burnt Yellow
#D5AB09
ΔE00 3.16
Gold (survey)
#DBB40C
ΔE00 3.90
Brownish Yellow
#C9B003
ΔE00 4.23
Dark Yellow
#D5B60A
ΔE00 4.27
Mustard (survey)
#CEB301
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAD36 #3658CF
analogous
#CF6036 #CFAD36 #A4CF36
triadic
#CFAD36 #36CFAD #AD36CF
tetradic
#CFAD36 #36CF60 #3658CF #CF36A4
square
#CFAD36 #36CF60 #3658CF #CF36A4
split-complementary
#CFAD36 #36A4CF #6036CF
monochromatic
#705D1B #A18627 #CFAD36 #DBC167 #E7D599
Accessibility & contrast
On white
2.17
#CFAD36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#CFAD36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAD36
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAD36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAD36 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA22
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#E09F96
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cfad36; /* rgb */ color: rgb(207, 173, 54); /* oklch */ color: oklch(75.7% 0.137 92.4);
Tailwind
colors: {
custom: {
50: '#e2c575',
500: '#cfad36',
950: '#000000',
},
}SCSS
$custom: #cfad36; $custom-light: #e2c575; $custom-dark: #000000;
JSON
{
"hex": "#cfad36",
"rgb": {
"r": 207,
"g": 173,
"b": 54
},
"hsl": {
"h": 46.667,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.75741,
"c": 0.13716,
"h": 92.4
},
"luminance": 0.43419
}Semantic roles & 50–950 ramp
primary
#CFAD36
secondary
#8F9ED2
accent
#67E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B