#CFC163#CFC163
#CFC163 is a light, moderate yellow. Relative luminance 0.523; OKLCH L 80.3% C 0.117 H 101.0°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC163 |
|---|---|
| RGB | rgb(207, 193, 99) |
| HSL | hsl(52, 53%, 60%) |
| HSV | hsv(52, 52%, 81%) |
| CMYK | cmyk(0%, 6.8%, 52.2%, 18.8%) |
| CIE-LAB | lab(77.46, -7.32, 48.57) |
| CIE-LCH | lch(77.46, 49.12, 98.57°) |
| OKLab | oklab(80.32% -0.0222 0.1145) |
| OKLCH | oklch(80.32% 0.117 101) |
| XYZ | xyz(47.0557, 52.3079, 19.4197) |
| Luminance | 0.5231 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.41
Darkkhaki
#BDB76B
ΔE00 4.68
Sandy
#F1DA7A
ΔE00 6.86
Greenish Beige
#C9D179
ΔE00 6.91
Olive Yellow
#C2B709
ΔE00 7.47
Desert
#CCAD60
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC163 #6371CF
analogous
#CF8B63 #CFC163 #A7CF63
triadic
#CFC163 #63CFC1 #C163CF
tetradic
#CFC163 #63CF8B #6371CF #CF63A7
square
#CFC163 #63CF8B #6371CF #CF63A7
split-complementary
#CFC163 #63A7CF #8B63CF
monochromatic
#8C802B #BBAA3A #CFC163 #DDD492 #ECE6C1
Accessibility & contrast
On white
1.83
#CFC163 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.46
#CFC163 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC163
11.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC163 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC163 | 1.00 | 1.83 | 11.46 | 11.46 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC5A
Deuteranopia (green-blind)
#D4C267
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc163; /* rgb */ color: rgb(207, 193, 99); /* oklch */ color: oklch(80.3% 0.117 101.0);
Tailwind
colors: {
custom: {
50: '#e0d392',
500: '#cfc163',
950: '#000000',
},
}SCSS
$custom: #cfc163; $custom-light: #e0d392; $custom-dark: #000000;
JSON
{
"hex": "#cfc163",
"rgb": {
"r": 207,
"g": 193,
"b": 99
},
"hsl": {
"h": 52.222,
"s": 52.941,
"l": 60
},
"oklch": {
"l": 0.80321,
"c": 0.11667,
"h": 101
},
"luminance": 0.52306
}Semantic roles & 50–950 ramp
primary
#CFC163
secondary
#434E93
accent
#5EDC4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F