#CFC165#CFC165
#CFC165 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.115 H 100.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC165 |
|---|---|
| RGB | rgb(207, 193, 101) |
| HSL | hsl(52, 52%, 60%) |
| HSV | hsv(52, 51%, 81%) |
| CMYK | cmyk(0%, 6.8%, 51.2%, 18.8%) |
| CIE-LAB | lab(77.49, -7.15, 47.63) |
| CIE-LCH | lch(77.49, 48.16, 98.54°) |
| OKLab | oklab(80.35% -0.0215 0.1127) |
| OKLCH | oklch(80.35% 0.115 100.8) |
| XYZ | xyz(47.1525, 52.3466, 19.9295) |
| Luminance | 0.5234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.29
Darkkhaki
#BDB76B
ΔE00 4.51
Greenish Beige
#C9D179
ΔE00 6.85
Sandy
#F1DA7A
ΔE00 6.85
Desert
#CCAD60
ΔE00 7.37
Olive Yellow
#C2B709
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC165 #6573CF
analogous
#CF8C65 #CFC165 #A8CF65
triadic
#CFC165 #65CFC1 #C165CF
tetradic
#CFC165 #65CF8C #6573CF #CF65A8
square
#CFC165 #65CF8C #6573CF #CF65A8
split-complementary
#CFC165 #65A8CF #8C65CF
monochromatic
#8D812C #BCAB3B #CFC165 #DED494 #ECE7C2
Accessibility & contrast
On white
1.83
#CFC165 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#CFC165 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC165
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC165 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC165 | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5D
Deuteranopia (green-blind)
#D4C269
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc165; /* rgb */ color: rgb(207, 193, 101); /* oklch */ color: oklch(80.3% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#e0d393',
500: '#cfc165',
950: '#000000',
},
}SCSS
$custom: #cfc165; $custom-light: #e0d393; $custom-dark: #000000;
JSON
{
"hex": "#cfc165",
"rgb": {
"r": 207,
"g": 193,
"b": 101
},
"hsl": {
"h": 52.075,
"s": 52.475,
"l": 60.392
},
"oklch": {
"l": 0.80347,
"c": 0.11471,
"h": 100.8
},
"luminance": 0.52345
}Semantic roles & 50–950 ramp
primary
#CFC165
secondary
#444F94
accent
#3AC026
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F