#CFC175#CFC175
#CFC175 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.098 H 99.1°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC175 |
|---|---|
| RGB | rgb(207, 193, 117) |
| HSL | hsl(51, 48%, 64%) |
| HSV | hsv(51, 43%, 81%) |
| CMYK | cmyk(0%, 6.8%, 43.5%, 18.8%) |
| CIE-LAB | lab(77.69, -5.63, 39.95) |
| CIE-LCH | lch(77.69, 40.34, 98.03°) |
| OKLab | oklab(80.58% -0.0155 0.0968) |
| OKLCH | oklch(80.58% 0.098 99.1) |
| XYZ | xyz(48.0141, 52.6912, 24.4674) |
| Luminance | 0.5269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.86
Sand (survey)
#E2CA76
ΔE00 4.06
Sand
#C2B280
ΔE00 6.44
Tan (survey)
#D1B26F
ΔE00 6.54
Desert
#CCAD60
ΔE00 6.89
Greenish Beige
#C9D179
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC175 #7583CF
analogous
#CF9475 #CFC175 #B0CF75
triadic
#CFC175 #75CFC1 #C175CF
tetradic
#CFC175 #75CF94 #7583CF #CF75B0
square
#CFC175 #75CF94 #7583CF #CF75B0
split-complementary
#CFC175 #75B0CF #9475CF
monochromatic
#968634 #BFAD48 #CFC175 #DFD5A2 #EFEAD0
Accessibility & contrast
On white
1.82
#CFC175 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#CFC175 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC175
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC175 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC175 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBD6F
Deuteranopia (green-blind)
#D2C278
Tritanopia (blue-blind)
#DBB7AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc175; /* rgb */ color: rgb(207, 193, 117); /* oklch */ color: oklch(80.6% 0.098 99.1);
Tailwind
colors: {
custom: {
50: '#dfd39e',
500: '#cfc175',
950: '#000000',
},
}SCSS
$custom: #cfc175; $custom-light: #dfd39e; $custom-dark: #000000;
JSON
{
"hex": "#cfc175",
"rgb": {
"r": 207,
"g": 193,
"b": 117
},
"hsl": {
"h": 50.667,
"s": 48.387,
"l": 63.529
},
"oklch": {
"l": 0.80575,
"c": 0.09803,
"h": 99.1
},
"luminance": 0.5269
}Semantic roles & 50–950 ramp
primary
#CFC175
secondary
#4D599B
accent
#41BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F