#CFAC3A#CFAC3A
#CFAC3A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.134 H 91.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC3A |
|---|---|
| RGB | rgb(207, 172, 58) |
| HSL | hsl(46, 61%, 52%) |
| HSV | hsv(46, 72%, 81%) |
| CMYK | cmyk(0%, 16.9%, 72%, 18.8%) |
| CIE-LAB | lab(71.61, 0.94, 60.38) |
| CIE-LCH | lch(71.61, 60.39, 89.11°) |
| OKLab | oklab(75.57% -0.0032 0.1341) |
| OKLCH | oklch(75.57% 0.134 91.4) |
| XYZ | xyz(41.2506, 43.0784, 10.1444) |
| Luminance | 0.4308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.17
Burnt Yellow
#D5AB09
ΔE00 3.41
Gold (survey)
#DBB40C
ΔE00 4.39
Brownish Yellow
#C9B003
ΔE00 4.89
Dark Yellow
#D5B60A
ΔE00 4.92
Mustard (survey)
#CEB301
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC3A #3A5DCF
analogous
#CF623A #CFAC3A #A8CF3A
triadic
#CFAC3A #3ACFAC #AC3ACF
tetradic
#CFAC3A #3ACF62 #3A5DCF #CF3AA8
square
#CFAC3A #3ACF62 #3A5DCF #CF3AA8
split-complementary
#CFAC3A #3AA8CF #623ACF
monochromatic
#735E1C #A48728 #CFAC3A #DBC16B #E7D59C
Accessibility & contrast
On white
2.18
#CFAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#CFAC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC3A
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC3A | 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)
#BFAA29
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfac3a; /* rgb */ color: rgb(207, 172, 58); /* oklch */ color: oklch(75.6% 0.134 91.4);
Tailwind
colors: {
custom: {
50: '#e2c477',
500: '#cfac3a',
950: '#000000',
},
}SCSS
$custom: #cfac3a; $custom-light: #e2c477; $custom-dark: #000000;
JSON
{
"hex": "#cfac3a",
"rgb": {
"r": 207,
"g": 172,
"b": 58
},
"hsl": {
"h": 45.906,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.75567,
"c": 0.1341,
"h": 91.4
},
"luminance": 0.43076
}Semantic roles & 50–950 ramp
primary
#CFAC3A
secondary
#92A1D3
accent
#69E444
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B