#DECD78#DECD78

#DECD78 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.108 H 98.3°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#DECD78
RGBrgb(222, 205, 120)
HSLhsl(50, 61%, 67%)
HSVhsv(50, 46%, 87%)
CMYKcmyk(0%, 7.7%, 45.9%, 12.9%)
CIE-LABlab(82.14, -5.47, 44.27)
CIE-LCHlch(82.14, 44.61, 97.04°)
OKLaboklab(84.41% -0.0155 0.1065)
OKLCHoklch(84.41% 0.108 98.3)
XYZxyz(55.3472, 60.5502, 26.5376)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD78 #7889DE
analogous
#DE9A78 #DECD78 #BCDE78
triadic
#DECD78 #78DECD #CD78DE
tetradic
#DECD78 #78DE9A #7889DE #DE78BC
square
#DECD78 #78DE9A #7889DE #DE78BC
split-complementary
#DECD78 #78BCDE #9A78DE
monochromatic
#B09A2B #D2BB47 #DECD78 #EADFA9 #F6F1DA

Accessibility & contrast

On white

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

On black

13.11
#DECD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD78
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD78#FFFFFF#000000##000000
##DECD781.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC971
Deuteranopia (green-blind)
#E1CF7B
Tritanopia (blue-blind)
#ECC2B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #decd78;
/* rgb */ color: rgb(222, 205, 120);
/* oklch */ color: oklch(84.4% 0.108 98.3);
Tailwind
colors: {
  custom: {
    50: '#eadca0',
    500: '#decd78',
    950: '#000000',
  },
}
SCSS
$custom: #decd78;
$custom-light: #eadca0;
$custom-dark: #000000;
JSON
{
  "hex": "#decd78",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 50,
    "s": 60.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.84413,
    "c": 0.10765,
    "h": 98.3
  },
  "luminance": 0.60548
}

Semantic roles & 50–950 ramp

primary
#DECD78
secondary
#485AB2
accent
#3AC81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DECD78

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

Preview Lab → · Contrast checker → · Palette generator →

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