#DEDF7D#DEDF7D

#DEDF7D is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.2% C 0.121 H 109.2°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#DEDF7D
RGBrgb(222, 223, 125)
HSLhsl(61, 60%, 68%)
HSVhsv(61, 44%, 87%)
CMYKcmyk(0.4%, 0%, 43.9%, 12.5%)
CIE-LABlab(86.89, -14.07, 47.70)
CIE-LCHlch(86.89, 49.73, 106.44°)
OKLaboklab(88.21% -0.0398 0.1145)
OKLCHoklch(88.21% 0.121 109.2)
XYZxyz(60.2146, 69.7869, 29.6963)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF7D #7E7DDF
analogous
#DFAF7D #DEDF7D #ADDF7D
triadic
#DEDF7D #7DDEDF #DF7DDE
tetradic
#DEDF7D #7DDFAF #7E7DDF #DF7DAD
square
#DEDF7D #7DDFAF #7E7DDF #DF7DAD
split-complementary
#DEDF7D #7DADDF #AF7DDF
monochromatic
#B4B52D #D2D34C #DEDF7D #EAEBAE #F7F7DF

Accessibility & contrast

On white

1.40
#DEDF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#DEDF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF7D
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF7D#FFFFFF#000000##000000
##DEDF7D1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#EEDB82
Tritanopia (blue-blind)
#EAD4C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dedf7d;
/* rgb */ color: rgb(222, 223, 125);
/* oklch */ color: oklch(88.2% 0.121 109.2);
Tailwind
colors: {
  custom: {
    50: '#eae8a4',
    500: '#dedf7d',
    950: '#000000',
  },
}
SCSS
$custom: #dedf7d;
$custom-light: #eae8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf7d",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 125
  },
  "hsl": {
    "h": 60.612,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88209,
    "c": 0.12122,
    "h": 109.2
  },
  "luminance": 0.69786
}

Semantic roles & 50–950 ramp

primary
#DEDF7D
secondary
#4B4AB6
accent
#1DC81F
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16160F
muted
#858480

Preview Lab

Preview with #DEDF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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