#DECD7F#DECD7F

#DECD7F is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.5% C 0.100 H 97.4°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#DECD7F
RGBrgb(222, 205, 127)
HSLhsl(49, 59%, 68%)
HSVhsv(49, 43%, 87%)
CMYKcmyk(0%, 7.7%, 42.8%, 12.9%)
CIE-LABlab(82.23, -4.78, 40.90)
CIE-LCHlch(82.23, 41.17, 96.66°)
OKLaboklab(84.52% -0.0129 0.0994)
OKLCHoklch(84.52% 0.1 97.4)
XYZxyz(55.7876, 60.7264, 28.8573)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD7F #7F90DE
analogous
#DE9D7F #DECD7F #BFDE7F
triadic
#DECD7F #7FDECD #CD7FDE
tetradic
#DECD7F #7FDE9D #7F90DE #DE7FBF
square
#DECD7F #7FDE9D #7F90DE #DE7FBF
split-complementary
#DECD7F #7FBFDE #9D7FDE
monochromatic
#B49C2E #D1BA4E #DECD7F #EBE0B0 #F7F3E0

Accessibility & contrast

On white

1.60
#DECD7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#DECD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD7F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD7F#FFFFFF#000000##000000
##DECD7F1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC979
Deuteranopia (green-blind)
#E0CF82
Tritanopia (blue-blind)
#EBC2BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #decd7f;
/* rgb */ color: rgb(222, 205, 127);
/* oklch */ color: oklch(84.5% 0.100 97.4);
Tailwind
colors: {
  custom: {
    50: '#eadca5',
    500: '#decd7f',
    950: '#000000',
  },
}
SCSS
$custom: #decd7f;
$custom-light: #eadca5;
$custom-dark: #000000;
JSON
{
  "hex": "#decd7f",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 49.263,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.84519,
    "c": 0.10019,
    "h": 97.4
  },
  "luminance": 0.60725
}

Semantic roles & 50–950 ramp

primary
#DECD7F
secondary
#4C5FB5
accent
#3DC71F
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DECD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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