#CFAC36#CFAC36
#CFAC36 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.5% C 0.137 H 91.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC36 |
|---|---|
| RGB | rgb(207, 172, 54) |
| HSL | hsl(46, 61%, 51%) |
| HSV | hsv(46, 74%, 81%) |
| CMYK | cmyk(0%, 16.9%, 73.9%, 18.8%) |
| CIE-LAB | lab(71.58, 0.75, 61.90) |
| CIE-LCH | lch(71.58, 61.90, 89.30°) |
| OKLab | oklab(75.54% -0.0042 0.1365) |
| OKLCH | oklch(75.54% 0.137 91.8) |
| XYZ | xyz(41.1528, 43.0393, 9.6292) |
| Luminance | 0.4304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.95
Burnt Yellow
#D5AB09
ΔE00 3.08
Gold (survey)
#DBB40C
ΔE00 4.06
Brownish Yellow
#C9B003
ΔE00 4.54
Dark Yellow
#D5B60A
ΔE00 4.57
Mustard (survey)
#CEB301
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC36 #3659CF
analogous
#CF5F36 #CFAC36 #A5CF36
triadic
#CFAC36 #36CFAC #AC36CF
tetradic
#CFAC36 #36CF5F #3659CF #CF36A5
square
#CFAC36 #36CF5F #3659CF #CF36A5
split-complementary
#CFAC36 #36A5CF #5F36CF
monochromatic
#705C1B #A18527 #CFAC36 #DBC067 #E7D599
Accessibility & contrast
On white
2.19
#CFAC36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#CFAC36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC36
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC36 | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA23
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfac36; /* rgb */ color: rgb(207, 172, 54); /* oklch */ color: oklch(75.5% 0.137 91.8);
Tailwind
colors: {
custom: {
50: '#e2c475',
500: '#cfac36',
950: '#000000',
},
}SCSS
$custom: #cfac36; $custom-light: #e2c475; $custom-dark: #000000;
JSON
{
"hex": "#cfac36",
"rgb": {
"r": 207,
"g": 172,
"b": 54
},
"hsl": {
"h": 46.275,
"s": 61.446,
"l": 51.176
},
"oklch": {
"l": 0.75537,
"c": 0.13657,
"h": 91.8
},
"luminance": 0.43037
}Semantic roles & 50–950 ramp
primary
#CFAC36
secondary
#8F9ED2
accent
#68E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B