#DECF7A#DECF7A

#DECF7A is a very light, moderate yellow. Relative luminance 0.616; OKLCH L 84.9% C 0.107 H 99.5°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#DECF7A
RGBrgb(222, 207, 122)
HSLhsl(51, 60%, 67%)
HSVhsv(51, 45%, 87%)
CMYKcmyk(0%, 6.8%, 45%, 12.9%)
CIE-LABlab(82.68, -6.30, 43.96)
CIE-LCHlch(82.68, 44.41, 98.16°)
OKLaboklab(84.85% -0.0177 0.106)
OKLCHoklch(84.85% 0.107 99.5)
XYZxyz(55.9513, 61.5622, 27.3440)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF7A #7A89DE
analogous
#DE9D7A #DECF7A #BBDE7A
triadic
#DECF7A #7ADECF #CF7ADE
tetradic
#DECF7A #7ADE9D #7A89DE #DE7ABB
square
#DECF7A #7ADE9D #7A89DE #DE7ABB
split-complementary
#DECF7A #7ABBDE #9D7ADE
monochromatic
#B29E2C #D2BD49 #DECF7A #EAE1AB #F6F2DC

Accessibility & contrast

On white

1.58
#DECF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#DECF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF7A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF7A#FFFFFF#000000##000000
##DECF7A1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA73
Deuteranopia (green-blind)
#E2D07D
Tritanopia (blue-blind)
#EBC4BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #decf7a;
/* rgb */ color: rgb(222, 207, 122);
/* oklch */ color: oklch(84.9% 0.107 99.5);
Tailwind
colors: {
  custom: {
    50: '#eadda2',
    500: '#decf7a',
    950: '#000000',
  },
}
SCSS
$custom: #decf7a;
$custom-light: #eadda2;
$custom-dark: #000000;
JSON
{
  "hex": "#decf7a",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 51,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84852,
    "c": 0.10742,
    "h": 99.5
  },
  "luminance": 0.6156
}

Semantic roles & 50–950 ramp

primary
#DECF7A
secondary
#4959B3
accent
#37C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DECF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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