#CFC873#CFC873
#CFC873 is a very light, moderate yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.107 H 104.4°. Best body text is #000000 at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC873 |
|---|---|
| RGB | rgb(207, 200, 115) |
| HSL | hsl(55, 49%, 63%) |
| HSV | hsv(55, 44%, 81%) |
| CMYK | cmyk(0%, 3.4%, 44.4%, 18.8%) |
| CIE-LAB | lab(79.51, -9.44, 43.22) |
| CIE-LCH | lch(79.51, 44.24, 102.32°) |
| OKLab | oklab(82.01% -0.0266 0.104) |
| OKLCH | oklch(82.01% 0.107 104.4) |
| XYZ | xyz(49.4820, 55.8131, 24.3828) |
| Luminance | 0.5581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.28
Darkkhaki
#BDB76B
ΔE00 4.61
Sand (survey)
#E2CA76
ΔE00 5.10
Greenish Tan
#BCCB7A
ΔE00 6.03
Sandy
#F1DA7A
ΔE00 6.77
Khaki (CSS)
#F0E68C
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC873 #737ACF
analogous
#CF9A73 #CFC873 #A8CF73
triadic
#CFC873 #73CFC8 #C873CF
tetradic
#CFC873 #73CF9A #737ACF #CF73A8
square
#CFC873 #73CF9A #737ACF #CF73A8
split-complementary
#CFC873 #73A8CF #9A73CF
monochromatic
#958D33 #BFB645 #CFC873 #DFDAA1 #EEECCE
Accessibility & contrast
On white
1.73
#CFC873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.16
#CFC873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC873
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC873 | 1.00 | 1.73 | 12.16 | 12.16 |
| #FFFFFF | 1.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C26C
Deuteranopia (green-blind)
#D8C777
Tritanopia (blue-blind)
#DBBEB4
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cfc873; /* rgb */ color: rgb(207, 200, 115); /* oklch */ color: oklch(82.0% 0.107 104.4);
Tailwind
colors: {
custom: {
50: '#dfd89d',
500: '#cfc873',
950: '#000000',
},
}SCSS
$custom: #cfc873; $custom-light: #dfd89d; $custom-dark: #000000;
JSON
{
"hex": "#cfc873",
"rgb": {
"r": 207,
"g": 200,
"b": 115
},
"hsl": {
"h": 55.435,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.82005,
"c": 0.10737,
"h": 104.4
},
"luminance": 0.55812
}Semantic roles & 50–950 ramp
primary
#CFC873
secondary
#4C529B
accent
#34BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F