#CFAC3F#CFAC3F
#CFAC3F is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.131 H 90.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC3F |
|---|---|
| RGB | rgb(207, 172, 63) |
| HSL | hsl(45, 60%, 53%) |
| HSV | hsv(45, 70%, 81%) |
| CMYK | cmyk(0%, 16.9%, 69.6%, 18.8%) |
| CIE-LAB | lab(71.64, 1.19, 58.40) |
| CIE-LCH | lch(71.64, 58.41, 88.83°) |
| OKLab | oklab(75.61% -0.0019 0.1308) |
| OKLCH | oklch(75.61% 0.131 90.8) |
| XYZ | xyz(41.3841, 43.1318, 10.8472) |
| Luminance | 0.4313 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.54
Burnt Yellow
#D5AB09
ΔE00 3.89
Desert
#CCAD60
ΔE00 4.61
Gold (survey)
#DBB40C
ΔE00 4.85
Goldenrod
#DAA520
ΔE00 5.07
Ocre
#C69C04
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC3F #3F62CF
analogous
#CF643F #CFAC3F #AACF3F
triadic
#CFAC3F #3FCFAC #AC3FCF
tetradic
#CFAC3F #3FCF64 #3F62CF #CF3FAA
square
#CFAC3F #3FCF64 #3F62CF #CF3FAA
split-complementary
#CFAC3F #3FAACF #643FCF
monochromatic
#76611E #A7892A #CFAC3F #DBC170 #E7D6A1
Accessibility & contrast
On white
2.18
#CFAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#CFAC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC3F
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC3F | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#E09E96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfac3f; /* rgb */ color: rgb(207, 172, 63); /* oklch */ color: oklch(75.6% 0.131 90.8);
Tailwind
colors: {
custom: {
50: '#e2c47a',
500: '#cfac3f',
950: '#000000',
},
}SCSS
$custom: #cfac3f; $custom-light: #e2c47a; $custom-dark: #000000;
JSON
{
"hex": "#cfac3f",
"rgb": {
"r": 207,
"g": 172,
"b": 63
},
"hsl": {
"h": 45.417,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.75607,
"c": 0.13078,
"h": 90.8
},
"luminance": 0.43129
}Semantic roles & 50–950 ramp
primary
#CFAC3F
secondary
#96A5D4
accent
#6BE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C