#CFAC43#CFAC43
#CFAC43 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.128 H 90.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAC43 |
|---|---|
| RGB | rgb(207, 172, 67) |
| HSL | hsl(45, 59%, 54%) |
| HSV | hsv(45, 68%, 81%) |
| CMYK | cmyk(0%, 16.9%, 67.6%, 18.8%) |
| CIE-LAB | lab(71.68, 1.41, 56.74) |
| CIE-LCH | lch(71.68, 56.76, 88.58°) |
| OKLab | oklab(75.64% -0.0008 0.128) |
| OKLCH | oklch(75.64% 0.128 90.4) |
| XYZ | xyz(41.5000, 43.1781, 11.4575) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.88
Desert
#CCAD60
ΔE00 4.13
Burnt Yellow
#D5AB09
ΔE00 4.31
Goldenrod
#DAA520
ΔE00 5.17
Gold (survey)
#DBB40C
ΔE00 5.27
Yellow Ochre
#CB9D06
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAC43 #4366CF
analogous
#CF6643 #CFAC43 #ACCF43
triadic
#CFAC43 #43CFAC #AC43CF
tetradic
#CFAC43 #43CF66 #4366CF #CF43AC
square
#CFAC43 #43CF66 #4366CF #CF43AC
split-complementary
#CFAC43 #43ACCF #6643CF
monochromatic
#79621F #AA8A2B #CFAC43 #DBC274 #E8D7A5
Accessibility & contrast
On white
2.18
#CFAC43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#CFAC43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAC43
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAC43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAC43 | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA36
Deuteranopia (green-blind)
#C7B448
Tritanopia (blue-blind)
#E09E96
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cfac43; /* rgb */ color: rgb(207, 172, 67); /* oklch */ color: oklch(75.6% 0.128 90.4);
Tailwind
colors: {
custom: {
50: '#e1c47c',
500: '#cfac43',
950: '#000000',
},
}SCSS
$custom: #cfac43; $custom-light: #e1c47c; $custom-dark: #000000;
JSON
{
"hex": "#cfac43",
"rgb": {
"r": 207,
"g": 172,
"b": 67
},
"hsl": {
"h": 45,
"s": 59.322,
"l": 53.725
},
"oklch": {
"l": 0.75642,
"c": 0.12795,
"h": 90.4
},
"luminance": 0.43176
}Semantic roles & 50–950 ramp
primary
#CFAC43
secondary
#99A8D5
accent
#6DE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C