#CFC168#CFC168
#CFC168 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.112 H 100.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC168 |
|---|---|
| RGB | rgb(207, 193, 104) |
| HSL | hsl(52, 52%, 61%) |
| HSV | hsv(52, 50%, 81%) |
| CMYK | cmyk(0%, 6.8%, 49.8%, 18.8%) |
| CIE-LAB | lab(77.52, -6.88, 46.21) |
| CIE-LCH | lch(77.52, 46.72, 98.47°) |
| OKLab | oklab(80.39% -0.0204 0.1098) |
| OKLCH | oklch(80.39% 0.112 100.5) |
| XYZ | xyz(47.3022, 52.4065, 20.7178) |
| Luminance | 0.5241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.14
Darkkhaki
#BDB76B
ΔE00 4.29
Greenish Beige
#C9D179
ΔE00 6.77
Sandy
#F1DA7A
ΔE00 6.87
Desert
#CCAD60
ΔE00 7.23
Tan (survey)
#D1B26F
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC168 #6876CF
analogous
#CF8D68 #CFC168 #A9CF68
triadic
#CFC168 #68CFC1 #C168CF
tetradic
#CFC168 #68CF8D #6876CF #CF68A9
square
#CFC168 #68CF8D #6876CF #CF68A9
split-complementary
#CFC168 #68A9CF #8D68CF
monochromatic
#8F822D #BEAC3C #CFC168 #DED496 #EDE7C5
Accessibility & contrast
On white
1.83
#CFC168 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#CFC168 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC168
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC168 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC168 | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC60
Deuteranopia (green-blind)
#D4C26C
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cfc168; /* rgb */ color: rgb(207, 193, 104); /* oklch */ color: oklch(80.4% 0.112 100.5);
Tailwind
colors: {
custom: {
50: '#e0d395',
500: '#cfc168',
950: '#000000',
},
}SCSS
$custom: #cfc168; $custom-light: #e0d395; $custom-dark: #000000;
JSON
{
"hex": "#cfc168",
"rgb": {
"r": 207,
"g": 193,
"b": 104
},
"hsl": {
"h": 51.845,
"s": 51.759,
"l": 60.98
},
"oklch": {
"l": 0.80387,
"c": 0.11171,
"h": 100.5
},
"luminance": 0.52405
}Semantic roles & 50–950 ramp
primary
#CFC168
secondary
#465195
accent
#3BBF26
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F