#CFAC37#CFAC37
#CFAC37 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.5% C 0.136 H 91.7°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC37 |
|---|---|
| RGB | rgb(207, 172, 55) |
| HSL | hsl(46, 61%, 51%) |
| HSV | hsv(46, 73%, 81%) |
| CMYK | cmyk(0%, 16.9%, 73.4%, 18.8%) |
| CIE-LAB | lab(71.59, 0.80, 61.52) |
| CIE-LCH | lch(71.59, 61.53, 89.26°) |
| OKLab | oklab(75.55% -0.004 0.1359) |
| OKLCH | oklch(75.55% 0.136 91.7) |
| XYZ | xyz(41.1765, 43.0488, 9.7541) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.00
Burnt Yellow
#D5AB09
ΔE00 3.16
Gold (survey)
#DBB40C
ΔE00 4.14
Brownish Yellow
#C9B003
ΔE00 4.63
Dark Yellow
#D5B60A
ΔE00 4.65
Mustard (survey)
#CEB301
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC37 #375ACF
analogous
#CF6037 #CFAC37 #A6CF37
triadic
#CFAC37 #37CFAC #AC37CF
tetradic
#CFAC37 #37CF60 #375ACF #CF37A6
square
#CFAC37 #37CF60 #375ACF #CF37A6
split-complementary
#CFAC37 #37A6CF #6037CF
monochromatic
#715D1B #A28627 #CFAC37 #DBC068 #E7D59A
Accessibility & contrast
On white
2.19
#CFAC37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#CFAC37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC37
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC37 | 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)
#BFAA24
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfac37; /* rgb */ color: rgb(207, 172, 55); /* oklch */ color: oklch(75.5% 0.136 91.7);
Tailwind
colors: {
custom: {
50: '#e2c476',
500: '#cfac37',
950: '#000000',
},
}SCSS
$custom: #cfac37; $custom-light: #e2c476; $custom-dark: #000000;
JSON
{
"hex": "#cfac37",
"rgb": {
"r": 207,
"g": 172,
"b": 55
},
"hsl": {
"h": 46.184,
"s": 61.29,
"l": 51.373
},
"oklch": {
"l": 0.75545,
"c": 0.13597,
"h": 91.7
},
"luminance": 0.43046
}Semantic roles & 50–950 ramp
primary
#CFAC37
secondary
#8F9FD2
accent
#68E443
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B