#CFC174#CFC174
#CFC174 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.099 H 99.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC174 |
|---|---|
| RGB | rgb(207, 193, 116) |
| HSL | hsl(51, 49%, 63%) |
| HSV | hsv(51, 44%, 81%) |
| CMYK | cmyk(0%, 6.8%, 44%, 18.8%) |
| CIE-LAB | lab(77.68, -5.74, 40.43) |
| CIE-LCH | lch(77.68, 40.84, 98.08°) |
| OKLab | oklab(80.56% -0.0159 0.0978) |
| OKLCH | oklch(80.56% 0.099 99.2) |
| XYZ | xyz(47.9556, 52.6678, 24.1594) |
| Luminance | 0.5267 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.85
Sand (survey)
#E2CA76
ΔE00 4.02
Sand
#C2B280
ΔE00 6.57
Tan (survey)
#D1B26F
ΔE00 6.60
Greenish Beige
#C9D179
ΔE00 6.85
Desert
#CCAD60
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC174 #7482CF
analogous
#CF9374 #CFC174 #AFCF74
triadic
#CFC174 #74CFC1 #C174CF
tetradic
#CFC174 #74CF93 #7482CF #CF74AF
square
#CFC174 #74CF93 #7482CF #CF74AF
split-complementary
#CFC174 #74AFCF #9374CF
monochromatic
#958633 #BFAD47 #CFC174 #DFD5A1 #EEEACF
Accessibility & contrast
On white
1.82
#CFC174 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#CFC174 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC174
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC174 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC174 | 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)
#CEBD6E
Deuteranopia (green-blind)
#D3C277
Tritanopia (blue-blind)
#DBB7AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc174; /* rgb */ color: rgb(207, 193, 116); /* oklch */ color: oklch(80.6% 0.099 99.2);
Tailwind
colors: {
custom: {
50: '#dfd39d',
500: '#cfc174',
950: '#000000',
},
}SCSS
$custom: #cfc174; $custom-light: #dfd39d; $custom-dark: #000000;
JSON
{
"hex": "#cfc174",
"rgb": {
"r": 207,
"g": 193,
"b": 116
},
"hsl": {
"h": 50.769,
"s": 48.663,
"l": 63.333
},
"oklch": {
"l": 0.8056,
"c": 0.09912,
"h": 99.2
},
"luminance": 0.52666
}Semantic roles & 50–950 ramp
primary
#CFC174
secondary
#4C589B
accent
#40BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F