#DECC7F#DECC7F
#DECC7F is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.3% C 0.099 H 96.6°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #DECC7F |
|---|---|
| RGB | rgb(222, 204, 127) |
| HSL | hsl(49, 59%, 68%) |
| HSV | hsv(49, 43%, 87%) |
| CMYK | cmyk(0%, 8.1%, 42.8%, 12.9%) |
| CIE-LAB | lab(81.97, -4.26, 40.57) |
| CIE-LCH | lch(81.97, 40.79, 96.00°) |
| OKLab | oklab(84.32% -0.0114 0.0986) |
| OKLCH | oklch(84.32% 0.099 96.6) |
| XYZ | xyz(55.5492, 60.2495, 28.7778) |
| Luminance | 0.6025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 2.04
Sandy
#F1DA7A
ΔE00 4.58
Wheat (survey)
#FBDD7E
ΔE00 5.92
Beige (survey)
#E6DAA6
ΔE00 6.25
Khaki (CSS)
#F0E68C
ΔE00 6.34
Darkkhaki
#BDB76B
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DECC7F #7F91DE
analogous
#DE9C7F #DECC7F #C0DE7F
triadic
#DECC7F #7FDECC #CC7FDE
tetradic
#DECC7F #7FDE9C #7F91DE #DE7FC0
square
#DECC7F #7FDE9C #7F91DE #DE7FC0
split-complementary
#DECC7F #7FC0DE #9C7FDE
monochromatic
#B49B2E #D1B94E #DECC7F #EBDFB0 #F7F3E0
Accessibility & contrast
On white
1.61
#DECC7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.05
#DECC7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DECC7F
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DECC7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DECC7F | 1.00 | 1.61 | 13.05 | 13.05 |
| #FFFFFF | 1.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC879
Deuteranopia (green-blind)
#DFCF82
Tritanopia (blue-blind)
#EBC1B9
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #decc7f; /* rgb */ color: rgb(222, 204, 127); /* oklch */ color: oklch(84.3% 0.099 96.6);
Tailwind
colors: {
custom: {
50: '#eadba5',
500: '#decc7f',
950: '#000000',
},
}SCSS
$custom: #decc7f; $custom-light: #eadba5; $custom-dark: #000000;
JSON
{
"hex": "#decc7f",
"rgb": {
"r": 222,
"g": 204,
"b": 127
},
"hsl": {
"h": 48.632,
"s": 59.006,
"l": 68.431
},
"oklch": {
"l": 0.84315,
"c": 0.09928,
"h": 96.6
},
"luminance": 0.60248
}Semantic roles & 50–950 ramp
primary
#DECC7F
secondary
#4C60B5
accent
#3FC71F
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480