#DEDF5A#DEDF5A

#DEDF5A is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.8% C 0.154 H 109.6°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#DEDF5A
RGBrgb(222, 223, 90)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 60%, 87%)
CMYKcmyk(0.4%, 0%, 59.6%, 12.5%)
CIE-LABlab(86.53, -16.95, 63.22)
CIE-LCHlch(86.53, 65.46, 105.01°)
OKLaboklab(87.8% -0.0515 0.1447)
OKLCHoklch(87.8% 0.154 109.6)
XYZxyz(58.3591, 69.0447, 19.9236)
Luminance0.6904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF5A #5B5ADF
analogous
#DF9E5A #DEDF5A #9CDF5A
triadic
#DEDF5A #5ADEDF #DF5ADE
tetradic
#DEDF5A #5ADF9E #5B5ADF #DF5A9C
square
#DEDF5A #5ADF9E #5B5ADF #DF5A9C
split-complementary
#DEDF5A #5A9CDF #9E5ADF
monochromatic
#9FA01F #D2D329 #DEDF5A #E8E98D #F3F3C1

Accessibility & contrast

On white

1.42
#DEDF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#DEDF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF5A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF5A#FFFFFF#000000##000000
##DEDF5A1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64A
Deuteranopia (green-blind)
#F1DB62
Tritanopia (blue-blind)
#ECD2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dedf5a;
/* rgb */ color: rgb(222, 223, 90);
/* oklch */ color: oklch(87.8% 0.154 109.6);
Tailwind
colors: {
  custom: {
    50: '#ebe88e',
    500: '#dedf5a',
    950: '#000000',
  },
}
SCSS
$custom: #dedf5a;
$custom-light: #ebe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf5a",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 60.451,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87799,
    "c": 0.15357,
    "h": 109.6
  },
  "luminance": 0.69043
}

Semantic roles & 50–950 ramp

primary
#DEDF5A
secondary
#3B3AA3
accent
#16CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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