#CFAF3A#CFAF3A
#CFAF3A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.2% C 0.136 H 93.3°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CFAF3A |
|---|---|
| RGB | rgb(207, 175, 58) |
| HSL | hsl(47, 61%, 52%) |
| HSV | hsv(47, 72%, 81%) |
| CMYK | cmyk(0%, 15.5%, 72%, 18.8%) |
| CIE-LAB | lab(72.38, -0.65, 61.15) |
| CIE-LCH | lch(72.38, 61.15, 90.61°) |
| OKLab | oklab(76.18% -0.0077 0.1357) |
| OKLCH | oklch(76.18% 0.136 93.3) |
| XYZ | xyz(41.8280, 44.2332, 10.3369) |
| Luminance | 0.4423 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.89
Burnt Yellow
#D5AB09
ΔE00 3.70
Gold (survey)
#DBB40C
ΔE00 4.00
Brownish Yellow
#C9B003
ΔE00 4.04
Dark Yellow
#D5B60A
ΔE00 4.08
Mustard (survey)
#CEB301
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFAF3A #3A5ACF
analogous
#CF653A #CFAF3A #A5CF3A
triadic
#CFAF3A #3ACFAF #AF3ACF
tetradic
#CFAF3A #3ACF65 #3A5ACF #CF3AA5
square
#CFAF3A #3ACF65 #3A5ACF #CF3AA5
split-complementary
#CFAF3A #3AA5CF #653ACF
monochromatic
#73601C #A48928 #CFAF3A #DBC36B #E7D79C
Accessibility & contrast
On white
2.13
#CFAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.85
#CFAF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFAF3A
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFAF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFAF3A | 1.00 | 2.13 | 9.85 | 9.85 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC28
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#E0A198
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cfaf3a; /* rgb */ color: rgb(207, 175, 58); /* oklch */ color: oklch(76.2% 0.136 93.3);
Tailwind
colors: {
custom: {
50: '#e2c677',
500: '#cfaf3a',
950: '#000000',
},
}SCSS
$custom: #cfaf3a; $custom-light: #e2c677; $custom-dark: #000000;
JSON
{
"hex": "#cfaf3a",
"rgb": {
"r": 207,
"g": 175,
"b": 58
},
"hsl": {
"h": 47.114,
"s": 60.816,
"l": 51.961
},
"oklch": {
"l": 0.76179,
"c": 0.13591,
"h": 93.3
},
"luminance": 0.44231
}Semantic roles & 50–950 ramp
primary
#CFAF3A
secondary
#92A0D3
accent
#66E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B