#CFC173#CFC173
#CFC173 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.100 H 99.3°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC173 |
|---|---|
| RGB | rgb(207, 193, 115) |
| HSL | hsl(51, 49%, 63%) |
| HSV | hsv(51, 44%, 81%) |
| CMYK | cmyk(0%, 6.8%, 44.4%, 18.8%) |
| CIE-LAB | lab(77.66, -5.84, 40.92) |
| CIE-LCH | lch(77.66, 41.34, 98.12°) |
| OKLab | oklab(80.55% -0.0163 0.0989) |
| OKLCH | oklch(80.55% 0.1 99.3) |
| XYZ | xyz(47.8978, 52.6447, 23.8547) |
| Luminance | 0.5264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.84
Sand (survey)
#E2CA76
ΔE00 4.00
Tan (survey)
#D1B26F
ΔE00 6.66
Sand
#C2B280
ΔE00 6.71
Greenish Beige
#C9D179
ΔE00 6.82
Desert
#CCAD60
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC173 #7381CF
analogous
#CF9373 #CFC173 #AFCF73
triadic
#CFC173 #73CFC1 #C173CF
tetradic
#CFC173 #73CF93 #7381CF #CF73AF
square
#CFC173 #73CF93 #7381CF #CF73AF
split-complementary
#CFC173 #73AFCF #9373CF
monochromatic
#958633 #BFAD45 #CFC173 #DFD5A1 #EEE9CE
Accessibility & contrast
On white
1.82
#CFC173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#CFC173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC173
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC173 | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBD6D
Deuteranopia (green-blind)
#D3C276
Tritanopia (blue-blind)
#DBB7AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc173; /* rgb */ color: rgb(207, 193, 115); /* oklch */ color: oklch(80.5% 0.100 99.3);
Tailwind
colors: {
custom: {
50: '#dfd39c',
500: '#cfc173',
950: '#000000',
},
}SCSS
$custom: #cfc173; $custom-light: #dfd39c; $custom-dark: #000000;
JSON
{
"hex": "#cfc173",
"rgb": {
"r": 207,
"g": 193,
"b": 115
},
"hsl": {
"h": 50.87,
"s": 48.936,
"l": 63.137
},
"oklch": {
"l": 0.80545,
"c": 0.1002,
"h": 99.3
},
"luminance": 0.52643
}Semantic roles & 50–950 ramp
primary
#CFC173
secondary
#4C589B
accent
#40BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F