#CFAC3C#CFAC3C
#CFAC3C is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.133 H 91.2°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC3C |
|---|---|
| RGB | rgb(207, 172, 60) |
| HSL | hsl(46, 60%, 52%) |
| HSV | hsv(46, 71%, 81%) |
| CMYK | cmyk(0%, 16.9%, 71%, 18.8%) |
| CIE-LAB | lab(71.62, 1.04, 59.60) |
| CIE-LCH | lch(71.62, 59.61, 89.00°) |
| OKLab | oklab(75.58% -0.0027 0.1328) |
| OKLCH | oklch(75.58% 0.133 91.2) |
| XYZ | xyz(41.3025, 43.0992, 10.4176) |
| Luminance | 0.4310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.31
Burnt Yellow
#D5AB09
ΔE00 3.60
Gold (survey)
#DBB40C
ΔE00 4.57
Desert
#CCAD60
ΔE00 4.94
Goldenrod
#DAA520
ΔE00 5.02
Brownish Yellow
#C9B003
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC3C #3C5FCF
analogous
#CF623C #CFAC3C #A9CF3C
triadic
#CFAC3C #3CCFAC #AC3CCF
tetradic
#CFAC3C #3CCF62 #3C5FCF #CF3CA9
square
#CFAC3C #3CCF62 #3C5FCF #CF3CA9
split-complementary
#CFAC3C #3CA9CF #623CCF
monochromatic
#745F1D #A58829 #CFAC3C #DBC16D #E7D69E
Accessibility & contrast
On white
2.18
#CFAC3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#CFAC3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC3C
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC3C | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA2C
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfac3c; /* rgb */ color: rgb(207, 172, 60); /* oklch */ color: oklch(75.6% 0.133 91.2);
Tailwind
colors: {
custom: {
50: '#e2c478',
500: '#cfac3c',
950: '#000000',
},
}SCSS
$custom: #cfac3c; $custom-light: #e2c478; $custom-dark: #000000;
JSON
{
"hex": "#cfac3c",
"rgb": {
"r": 207,
"g": 172,
"b": 60
},
"hsl": {
"h": 45.714,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.75582,
"c": 0.1328,
"h": 91.2
},
"luminance": 0.43097
}Semantic roles & 50–950 ramp
primary
#CFAC3C
secondary
#93A3D3
accent
#6AE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B