#CFAC3B#CFAC3B
#CFAC3B is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.6% C 0.133 H 91.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC3B |
|---|---|
| RGB | rgb(207, 172, 59) |
| HSL | hsl(46, 61%, 52%) |
| HSV | hsv(46, 71%, 81%) |
| CMYK | cmyk(0%, 16.9%, 71.5%, 18.8%) |
| CIE-LAB | lab(71.62, 0.99, 59.99) |
| CIE-LCH | lch(71.62, 60.00, 89.06°) |
| OKLab | oklab(75.58% -0.003 0.1334) |
| OKLCH | oklch(75.58% 0.133 91.3) |
| XYZ | xyz(41.2763, 43.0887, 10.2797) |
| Luminance | 0.4309 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.24
Burnt Yellow
#D5AB09
ΔE00 3.50
Gold (survey)
#DBB40C
ΔE00 4.48
Brownish Yellow
#C9B003
ΔE00 4.99
Dark Yellow
#D5B60A
ΔE00 5.01
Goldenrod
#DAA520
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC3B #3B5ECF
analogous
#CF623B #CFAC3B #A8CF3B
triadic
#CFAC3B #3BCFAC #AC3BCF
tetradic
#CFAC3B #3BCF62 #3B5ECF #CF3BA8
square
#CFAC3B #3BCF62 #3B5ECF #CF3BA8
split-complementary
#CFAC3B #3BA8CF #623BCF
monochromatic
#735F1C #A58728 #CFAC3B #DBC16C #E7D69D
Accessibility & contrast
On white
2.18
#CFAC3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#CFAC3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC3B
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC3B | 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)
#BFAA2B
Deuteranopia (green-blind)
#C7B441
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cfac3b; /* rgb */ color: rgb(207, 172, 59); /* oklch */ color: oklch(75.6% 0.133 91.3);
Tailwind
colors: {
custom: {
50: '#e2c478',
500: '#cfac3b',
950: '#000000',
},
}SCSS
$custom: #cfac3b; $custom-light: #e2c478; $custom-dark: #000000;
JSON
{
"hex": "#cfac3b",
"rgb": {
"r": 207,
"g": 172,
"b": 59
},
"hsl": {
"h": 45.811,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.75575,
"c": 0.13345,
"h": 91.3
},
"luminance": 0.43086
}Semantic roles & 50–950 ramp
primary
#CFAC3B
secondary
#93A2D3
accent
#6AE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B