#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
RGBrgb(222, 207, 91)
HSLhsl(53, 66%, 61%)
HSVhsv(53, 59%, 87%)
CMYKcmyk(0%, 6.8%, 59%, 12.9%)
CIE-LABlab(82.33, -8.89, 58.19)
CIE-LCHlch(82.33, 58.86, 98.69°)
OKLaboklab(84.46% -0.0285 0.1341)
OKLCHoklch(84.46% 0.137 102)
XYZxyz(54.3273, 60.9127, 18.7911)
Luminance0.6091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##DECF5B1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.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

Preview Lab

Preview with #DECF5B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DECF5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva