#DECD7D#DECD7D

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

Color values

HEX#DECD7D
RGBrgb(222, 205, 125)
HSLhsl(49, 60%, 68%)
HSVhsv(49, 44%, 87%)
CMYKcmyk(0%, 7.7%, 43.7%, 12.9%)
CIE-LABlab(82.20, -4.98, 41.87)
CIE-LCHlch(82.20, 42.16, 96.78°)
OKLaboklab(84.49% -0.0136 0.1014)
OKLCHoklch(84.49% 0.102 97.7)
XYZxyz(55.6586, 60.6748, 28.1776)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD7D #7D8EDE
analogous
#DE9D7D #DECD7D #BEDE7D
triadic
#DECD7D #7DDECD #CD7DDE
tetradic
#DECD7D #7DDE9D #7D8EDE #DE7DBE
square
#DECD7D #7DDE9D #7D8EDE #DE7DBE
split-complementary
#DECD7D #7DBEDE #9D7DDE
monochromatic
#B39C2D #D2BA4C #DECD7D #EAE0AE #F7F3DF

Accessibility & contrast

On white

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

On black

13.13
#DECD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD7D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD7D#FFFFFF#000000##000000
##DECD7D1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC977
Deuteranopia (green-blind)
#E0CF80
Tritanopia (blue-blind)
#EBC2B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decd7d;
/* rgb */ color: rgb(222, 205, 125);
/* oklch */ color: oklch(84.5% 0.102 97.7);
Tailwind
colors: {
  custom: {
    50: '#eadca4',
    500: '#decd7d',
    950: '#000000',
  },
}
SCSS
$custom: #decd7d;
$custom-light: #eadca4;
$custom-dark: #000000;
JSON
{
  "hex": "#decd7d",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 49.485,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.84488,
    "c": 0.10234,
    "h": 97.7
  },
  "luminance": 0.60673
}

Semantic roles & 50–950 ramp

primary
#DECD7D
secondary
#4B5DB5
accent
#3CC71E
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DECD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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