#DEDF5D#DEDF5D

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

Color values

HEX#DEDF5D
RGBrgb(222, 223, 93)
HSLhsl(60, 67%, 62%)
HSVhsv(60, 58%, 87%)
CMYKcmyk(0.4%, 0%, 58.3%, 12.5%)
CIE-LABlab(86.55, -16.75, 61.98)
CIE-LCHlch(86.55, 64.20, 105.12°)
OKLaboklab(87.83% -0.0506 0.1424)
OKLCHoklch(87.83% 0.151 109.6)
XYZxyz(58.4893, 69.0968, 20.6098)
Luminance0.6909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF5D #5E5DDF
analogous
#DF9F5D #DEDF5D #9DDF5D
triadic
#DEDF5D #5DDEDF #DF5DDE
tetradic
#DEDF5D #5DDF9F #5E5DDF #DF5D9D
square
#DEDF5D #5DDF9F #5E5DDF #DF5D9D
split-complementary
#DEDF5D #5D9DDF #9F5DDF
monochromatic
#A1A220 #D3D52A #DEDF5D #E8E990 #F3F3C3

Accessibility & contrast

On white

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

On black

14.82
#DEDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF5D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF5D#FFFFFF#000000##000000
##DEDF5D1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dedf5d;
/* rgb */ color: rgb(222, 223, 93);
/* oklch */ color: oklch(87.8% 0.151 109.6);
Tailwind
colors: {
  custom: {
    50: '#ebe890',
    500: '#dedf5d',
    950: '#000000',
  },
}
SCSS
$custom: #dedf5d;
$custom-light: #ebe890;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf5d",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 60.462,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87828,
    "c": 0.15114,
    "h": 109.6
  },
  "luminance": 0.69095
}

Semantic roles & 50–950 ramp

primary
#DEDF5D
secondary
#3C3CA5
accent
#17CF18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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