#CFC181#CFC181
#CFC181 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.085 H 97.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #CFC181 |
|---|---|
| RGB | rgb(207, 193, 129) |
| HSL | hsl(49, 45%, 66%) |
| HSV | hsv(49, 38%, 81%) |
| CMYK | cmyk(0%, 6.8%, 37.7%, 18.8%) |
| CIE-LAB | lab(77.87, -4.34, 34.02) |
| CIE-LCH | lch(77.87, 34.30, 97.26°) |
| OKLab | oklab(80.77% -0.0108 0.0838) |
| OKLCH | oklch(80.77% 0.085 97.3) |
| XYZ | xyz(48.7654, 52.9918, 28.4243) |
| Luminance | 0.5299 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.68
Sand
#C2B280
ΔE00 4.86
Sand (survey)
#E2CA76
ΔE00 5.05
Tan (survey)
#D1B26F
ΔE00 6.16
Sandstone
#C9AE74
ΔE00 6.32
Very Light Brown
#D3B683
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFC181 #818FCF
analogous
#CF9A81 #CFC181 #B6CF81
triadic
#CFC181 #81CFC1 #C181CF
tetradic
#CFC181 #81CF9A #818FCF #CF81B6
square
#CFC181 #81CF9A #818FCF #CF81B6
split-complementary
#CFC181 #81B6CF #9A81CF
monochromatic
#9B893B #BEAB55 #CFC181 #E0D7AD #F1EDDA
Accessibility & contrast
On white
1.81
#CFC181 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.60
#CFC181 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFC181
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFC181 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFC181 | 1.00 | 1.81 | 11.60 | 11.60 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDBE7C
Deuteranopia (green-blind)
#D1C383
Tritanopia (blue-blind)
#DAB8B1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #cfc181; /* rgb */ color: rgb(207, 193, 129); /* oklch */ color: oklch(80.8% 0.085 97.3);
Tailwind
colors: {
custom: {
50: '#dfd3a6',
500: '#cfc181',
950: '#000000',
},
}SCSS
$custom: #cfc181; $custom-light: #dfd3a6; $custom-dark: #000000;
JSON
{
"hex": "#cfc181",
"rgb": {
"r": 207,
"g": 193,
"b": 129
},
"hsl": {
"h": 49.231,
"s": 44.828,
"l": 65.882
},
"oklch": {
"l": 0.80774,
"c": 0.08453,
"h": 97.3
},
"luminance": 0.5299
}Semantic roles & 50–950 ramp
primary
#CFC181
secondary
#5462A0
accent
#46B82E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380