#DECF7C#DECF7C

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

Color values

HEX#DECF7C
RGBrgb(222, 207, 124)
HSLhsl(51, 60%, 68%)
HSVhsv(51, 44%, 87%)
CMYKcmyk(0%, 6.8%, 44.1%, 12.9%)
CIE-LABlab(82.71, -6.10, 43.00)
CIE-LCHlch(82.71, 43.43, 98.08°)
OKLaboklab(84.88% -0.017 0.1039)
OKLCHoklch(84.88% 0.105 99.3)
XYZxyz(56.0765, 61.6123, 28.0033)
Luminance0.6161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECF7C #7C8BDE
analogous
#DE9E7C #DECF7C #BCDE7C
triadic
#DECF7C #7CDECF #CF7CDE
tetradic
#DECF7C #7CDE9E #7C8BDE #DE7CBC
square
#DECF7C #7CDE9E #7C8BDE #DE7CBC
split-complementary
#DECF7C #7CBCDE #9E7CDE
monochromatic
#B39E2D #D2BD4B #DECF7C #EAE1AD #F7F3DE

Accessibility & contrast

On white

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

On black

13.32
#DECF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECF7C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECF7C#FFFFFF#000000##000000
##DECF7C1.001.5813.3213.32
#FFFFFF1.581.0021.0021.00
#00000013.3221.001.001.00
##00000013.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #decf7c;
/* rgb */ color: rgb(222, 207, 124);
/* oklch */ color: oklch(84.9% 0.105 99.3);
Tailwind
colors: {
  custom: {
    50: '#eadda3',
    500: '#decf7c',
    950: '#000000',
  },
}
SCSS
$custom: #decf7c;
$custom-light: #eadda3;
$custom-dark: #000000;
JSON
{
  "hex": "#decf7c",
  "rgb": {
    "r": 222,
    "g": 207,
    "b": 124
  },
  "hsl": {
    "h": 50.816,
    "s": 59.756,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84882,
    "c": 0.1053,
    "h": 99.3
  },
  "luminance": 0.6161
}

Semantic roles & 50–950 ramp

primary
#DECF7C
secondary
#4A5AB4
accent
#38C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DECF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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