#CFC07D#CFC07D
#CFC07D is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.088 H 97.1°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC07D |
|---|---|
| RGB | rgb(207, 192, 125) |
| HSL | hsl(49, 46%, 65%) |
| HSV | hsv(49, 40%, 81%) |
| CMYK | cmyk(0%, 7.2%, 39.6%, 18.8%) |
| CIE-LAB | lab(77.55, -4.26, 35.67) |
| CIE-LCH | lch(77.55, 35.93, 96.82°) |
| OKLab | oklab(80.5% -0.0109 0.0875) |
| OKLCH | oklch(80.5% 0.088 97.1) |
| XYZ | xyz(48.2844, 52.4469, 26.9779) |
| Luminance | 0.5244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.40
Sand (survey)
#E2CA76
ΔE00 4.65
Sand
#C2B280
ΔE00 5.03
Tan (survey)
#D1B26F
ΔE00 5.81
Sandstone
#C9AE74
ΔE00 6.14
Very Light Brown
#D3B683
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC07D #7D8CCF
analogous
#CF977D #CFC07D #B5CF7D
triadic
#CFC07D #7DCFC0 #C07DCF
tetradic
#CFC07D #7DCF97 #7D8CCF #CF7DB5
square
#CFC07D #7DCF97 #7D8CCF #CF7DB5
split-complementary
#CFC07D #7DB5CF #977DCF
monochromatic
#998739 #BEAA50 #CFC07D #E0D6AA #F0EBD6
Accessibility & contrast
On white
1.83
#CFC07D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#CFC07D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC07D
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC07D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC07D | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBD78
Deuteranopia (green-blind)
#D1C27F
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc07d; /* rgb */ color: rgb(207, 192, 125); /* oklch */ color: oklch(80.5% 0.088 97.1);
Tailwind
colors: {
custom: {
50: '#dfd2a3',
500: '#cfc07d',
950: '#000000',
},
}SCSS
$custom: #cfc07d; $custom-light: #dfd2a3; $custom-dark: #000000;
JSON
{
"hex": "#cfc07d",
"rgb": {
"r": 207,
"g": 192,
"b": 125
},
"hsl": {
"h": 49.024,
"s": 46.067,
"l": 65.098
},
"oklch": {
"l": 0.80499,
"c": 0.08815,
"h": 97.1
},
"luminance": 0.52445
}Semantic roles & 50–950 ramp
primary
#CFC07D
secondary
#51609F
accent
#46B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380