#DECD58#DECD58

#DECD58 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.138 H 101.1°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#DECD58
RGBrgb(222, 205, 88)
HSLhsl(52, 67%, 61%)
HSVhsv(52, 60%, 87%)
CMYKcmyk(0%, 7.7%, 60.4%, 12.9%)
CIE-LABlab(81.78, -8.08, 58.90)
CIE-LCHlch(81.78, 59.45, 97.81°)
OKLaboklab(84.02% -0.0265 0.1352)
OKLCHoklch(84.02% 0.138 101.1)
XYZxyz(53.7190, 59.8990, 17.9626)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DECD58 #5869DE
analogous
#DE8A58 #DECD58 #ACDE58
triadic
#DECD58 #58DECD #CD58DE
tetradic
#DECD58 #58DE8A #5869DE #DE58AC
square
#DECD58 #58DE8A #5869DE #DE58AC
split-complementary
#DECD58 #58ACDE #8A58DE
monochromatic
#9D8D1F #D0BB29 #DECD58 #E8DC8B #F2ECBE

Accessibility & contrast

On white

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

On black

12.98
#DECD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DECD58
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DECD58#FFFFFF#000000##000000
##DECD581.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#EEC0B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #decd58;
/* rgb */ color: rgb(222, 205, 88);
/* oklch */ color: oklch(84.0% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#ebdc8c',
    500: '#decd58',
    950: '#000000',
  },
}
SCSS
$custom: #decd58;
$custom-light: #ebdc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#decd58",
  "rgb": {
    "r": 222,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 52.388,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84019,
    "c": 0.1378,
    "h": 101.1
  },
  "luminance": 0.59897
}

Semantic roles & 50–950 ramp

primary
#DECD58
secondary
#3A47A0
accent
#2ECF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DECD58

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

Preview Lab → · Contrast checker → · Palette generator →

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