#DECD4D#DECD4D

#DECD4D is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.146 H 101.7°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#DECD4D
RGBrgb(222, 205, 77)
HSLhsl(53, 69%, 59%)
HSVhsv(53, 65%, 87%)
CMYKcmyk(0%, 7.7%, 65.3%, 12.9%)
CIE-LABlab(81.69, -8.77, 63.47)
CIE-LCHlch(81.69, 64.07, 97.87°)
OKLaboklab(83.92% -0.0297 0.1433)
OKLCHoklch(83.92% 0.146 101.7)
XYZxyz(53.2973, 59.7303, 15.7414)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD4D #4D5EDE
analogous
#DE844D #DECD4D #A6DE4D
triadic
#DECD4D #4DDECD #CD4DDE
tetradic
#DECD4D #4DDE84 #4D5EDE #DE4DA6
square
#DECD4D #4DDE84 #4D5EDE #DE4DA6
split-complementary
#DECD4D #4DA6DE #844DDE
monochromatic
#95871C #C9B525 #DECD4D #E8DC81 #F1EAB4

Accessibility & contrast

On white

1.62
#DECD4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#DECD4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD4D
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD4D#FFFFFF#000000##000000
##DECD4D1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73C
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#EEBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd4d;
/* rgb */ color: rgb(222, 205, 77);
/* oklch */ color: oklch(83.9% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#ecdb85',
    500: '#decd4d',
    950: '#000000',
  },
}
SCSS
$custom: #decd4d;
$custom-light: #ecdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#decd4d",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 52.966,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83917,
    "c": 0.14636,
    "h": 101.7
  },
  "luminance": 0.59728
}

Semantic roles & 50–950 ramp

primary
#DECD4D
secondary
#364199
accent
#51EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DECD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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