#CFC180#CFC180
#CFC180 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.086 H 97.5°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC180 |
|---|---|
| RGB | rgb(207, 193, 128) |
| HSL | hsl(49, 45%, 66%) |
| HSV | hsv(49, 38%, 81%) |
| CMYK | cmyk(0%, 6.8%, 38.2%, 18.8%) |
| CIE-LAB | lab(77.85, -4.45, 34.52) |
| CIE-LCH | lch(77.85, 34.81, 97.34°) |
| OKLab | oklab(80.76% -0.0112 0.085) |
| OKLCH | oklch(80.76% 0.086 97.5) |
| XYZ | xyz(48.6993, 52.9653, 28.0759) |
| Luminance | 0.5296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.56
Sand (survey)
#E2CA76
ΔE00 4.93
Sand
#C2B280
ΔE00 4.98
Tan (survey)
#D1B26F
ΔE00 6.16
Sandstone
#C9AE74
ΔE00 6.37
Very Light Brown
#D3B683
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC180 #808ECF
analogous
#CF9980 #CFC180 #B5CF80
triadic
#CFC180 #80CFC1 #C180CF
tetradic
#CFC180 #80CF99 #808ECF #CF80B5
square
#CFC180 #80CF99 #808ECF #CF80B5
split-complementary
#CFC180 #80B5CF #9980CF
monochromatic
#9A893A #BEAB54 #CFC180 #E0D7AC #F1ECD9
Accessibility & contrast
On white
1.81
#CFC180 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#CFC180 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC180
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC180 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC180 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBE7B
Deuteranopia (green-blind)
#D1C382
Tritanopia (blue-blind)
#DAB8B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc180; /* rgb */ color: rgb(207, 193, 128); /* oklch */ color: oklch(80.8% 0.086 97.5);
Tailwind
colors: {
custom: {
50: '#dfd3a5',
500: '#cfc180',
950: '#000000',
},
}SCSS
$custom: #cfc180; $custom-light: #dfd3a5; $custom-dark: #000000;
JSON
{
"hex": "#cfc180",
"rgb": {
"r": 207,
"g": 193,
"b": 128
},
"hsl": {
"h": 49.367,
"s": 45.143,
"l": 65.686
},
"oklch": {
"l": 0.80757,
"c": 0.08568,
"h": 97.5
},
"luminance": 0.52964
}Semantic roles & 50–950 ramp
primary
#CFC180
secondary
#5361A0
accent
#46B82D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380