#DECF5B#DECF5B
#DECF5B is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.5% C 0.137 H 102.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #DECF5B |
|---|---|
| RGB | rgb(222, 207, 91) |
| HSL | hsl(53, 66%, 61%) |
| HSV | hsv(53, 59%, 87%) |
| CMYK | cmyk(0%, 6.8%, 59%, 12.9%) |
| CIE-LAB | lab(82.33, -8.89, 58.19) |
| CIE-LCH | lch(82.33, 58.86, 98.69°) |
| OKLab | oklab(84.46% -0.0285 0.1341) |
| OKLCH | oklch(84.46% 0.137 102) |
| XYZ | xyz(54.3273, 60.9127, 18.7911) |
| Luminance | 0.6091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.48
Sandy
#F1DA7A
ΔE00 4.68
Sand (survey)
#E2CA76
ΔE00 5.33
Light Mustard
#F7D560
ΔE00 5.53
Sand Yellow
#FCE166
ΔE00 5.56
Maize
#F4D054
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DECF5B #5B6ADE
analogous
#DE8E5B #DECF5B #ACDE5B
triadic
#DECF5B #5BDECF #CF5BDE
tetradic
#DECF5B #5BDE8E #5B6ADE #DE5BAC
square
#DECF5B #5BDE8E #5B6ADE #DE5BAC
split-complementary
#DECF5B #5BACDE #8E5BDE
monochromatic
#9F9020 #D2BE2A #DECF5B #E8DE8E #F3EDC1
Accessibility & contrast
On white
1.59
#DECF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.18
#DECF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DECF5B
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DECF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DECF5B | 1.00 | 1.59 | 13.18 | 13.18 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#EDC2B6
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #decf5b; /* rgb */ color: rgb(222, 207, 91); /* oklch */ color: oklch(84.5% 0.137 102.0);
Tailwind
colors: {
custom: {
50: '#ebdd8d',
500: '#decf5b',
950: '#000000',
},
}SCSS
$custom: #decf5b; $custom-light: #ebdd8d; $custom-dark: #000000;
JSON
{
"hex": "#decf5b",
"rgb": {
"r": 222,
"g": 207,
"b": 91
},
"hsl": {
"h": 53.13,
"s": 66.497,
"l": 61.373
},
"oklch": {
"l": 0.84463,
"c": 0.13708,
"h": 102
},
"luminance": 0.60911
}Semantic roles & 50–950 ramp
primary
#DECF5B
secondary
#3B47A2
accent
#2CCE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F