#CFAE36#CFAE36
#CFAE36 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.138 H 93.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAE36 |
|---|---|
| RGB | rgb(207, 174, 54) |
| HSL | hsl(47, 61%, 51%) |
| HSV | hsv(47, 74%, 81%) |
| CMYK | cmyk(0%, 15.9%, 73.9%, 18.8%) |
| CIE-LAB | lab(72.10, -0.31, 62.40) |
| CIE-LCH | lch(72.10, 62.40, 90.28°) |
| OKLab | oklab(75.95% -0.0072 0.1376) |
| OKLCH | oklch(75.95% 0.138 93) |
| XYZ | xyz(41.5363, 43.8063, 9.7570) |
| Luminance | 0.4380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.73
Burnt Yellow
#D5AB09
ΔE00 3.28
Gold (survey)
#DBB40C
ΔE00 3.78
Brownish Yellow
#C9B003
ΔE00 3.94
Dark Yellow
#D5B60A
ΔE00 3.98
Mustard (survey)
#CEB301
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAE36 #3657CF
analogous
#CF6136 #CFAE36 #A3CF36
triadic
#CFAE36 #36CFAE #AE36CF
tetradic
#CFAE36 #36CF61 #3657CF #CF36A3
square
#CFAE36 #36CF61 #3657CF #CF36A3
split-complementary
#CFAE36 #36A3CF #6136CF
monochromatic
#705E1B #A18727 #CFAE36 #DBC267 #E7D699
Accessibility & contrast
On white
2.15
#CFAE36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CFAE36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAE36
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAE36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAE36 | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB22
Deuteranopia (green-blind)
#C9B53D
Tritanopia (blue-blind)
#E0A096
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfae36; /* rgb */ color: rgb(207, 174, 54); /* oklch */ color: oklch(75.9% 0.138 93.0);
Tailwind
colors: {
custom: {
50: '#e2c575',
500: '#cfae36',
950: '#000000',
},
}SCSS
$custom: #cfae36; $custom-light: #e2c575; $custom-dark: #000000;
JSON
{
"hex": "#cfae36",
"rgb": {
"r": 207,
"g": 174,
"b": 54
},
"hsl": {
"h": 47.059,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.75946,
"c": 0.13776,
"h": 93
},
"luminance": 0.43804
}Semantic roles & 50–950 ramp
primary
#CFAE36
secondary
#8F9DD2
accent
#66E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B