#CFC170#CFC170
#CFC170 is a light, moderate yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.103 H 99.7°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC170 |
|---|---|
| RGB | rgb(207, 193, 112) |
| HSL | hsl(51, 50%, 63%) |
| HSV | hsv(51, 46%, 81%) |
| CMYK | cmyk(0%, 6.8%, 45.9%, 18.8%) |
| CIE-LAB | lab(77.62, -6.14, 42.38) |
| CIE-LCH | lch(77.62, 42.82, 98.24°) |
| OKLab | oklab(80.5% -0.0174 0.1019) |
| OKLCH | oklch(80.5% 0.103 99.7) |
| XYZ | xyz(47.7280, 52.5768, 22.9603) |
| Luminance | 0.5258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.89
Sand (survey)
#E2CA76
ΔE00 3.96
Greenish Beige
#C9D179
ΔE00 6.75
Tan (survey)
#D1B26F
ΔE00 6.86
Desert
#CCAD60
ΔE00 6.95
Sandy
#F1DA7A
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC170 #707ECF
analogous
#CF9270 #CFC170 #ADCF70
triadic
#CFC170 #70CFC1 #C170CF
tetradic
#CFC170 #70CF92 #707ECF #CF70AD
square
#CFC170 #70CF92 #707ECF #CF70AD
split-complementary
#CFC170 #70ADCF #9270CF
monochromatic
#938531 #C0AD42 #CFC170 #DED59E #EEE9CC
Accessibility & contrast
On white
1.82
#CFC170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#CFC170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC170
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC170 | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBD69
Deuteranopia (green-blind)
#D3C273
Tritanopia (blue-blind)
#DCB7AE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc170; /* rgb */ color: rgb(207, 193, 112); /* oklch */ color: oklch(80.5% 0.103 99.7);
Tailwind
colors: {
custom: {
50: '#dfd39a',
500: '#cfc170',
950: '#000000',
},
}SCSS
$custom: #cfc170; $custom-light: #dfd39a; $custom-dark: #000000;
JSON
{
"hex": "#cfc170",
"rgb": {
"r": 207,
"g": 193,
"b": 112
},
"hsl": {
"h": 51.158,
"s": 49.738,
"l": 62.549
},
"oklch": {
"l": 0.805,
"c": 0.10342,
"h": 99.7
},
"luminance": 0.52575
}Semantic roles & 50–950 ramp
primary
#CFC170
secondary
#4A5699
accent
#3EBD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F