#DEDF59#DEDF59

#DEDF59 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#DEDF59
RGBrgb(222, 223, 89)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 60%, 87%)
CMYKcmyk(0.4%, 0%, 60.1%, 12.5%)
CIE-LABlab(86.52, -17.02, 63.63)
CIE-LCHlch(86.52, 65.87, 104.97°)
OKLaboklab(87.79% -0.0518 0.1454)
OKLCHoklch(87.79% 0.154 109.6)
XYZxyz(58.3168, 69.0278, 19.7010)
Luminance0.6903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF59 #5A59DF
analogous
#DF9D59 #DEDF59 #9BDF59
triadic
#DEDF59 #59DEDF #DF59DE
tetradic
#DEDF59 #59DF9D #5A59DF #DF599B
square
#DEDF59 #59DF9D #5A59DF #DF599B
split-complementary
#DEDF59 #599BDF #9D59DF
monochromatic
#9E9F1F #D1D229 #DEDF59 #E8E98C #F2F3C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDF59#FFFFFF#000000##000000
##DEDF591.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)
#F0D649
Deuteranopia (green-blind)
#F1DB61
Tritanopia (blue-blind)
#ECD2C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedf59;
/* rgb */ color: rgb(222, 223, 89);
/* oklch */ color: oklch(87.8% 0.154 109.6);
Tailwind
colors: {
  custom: {
    50: '#ebe88d',
    500: '#dedf59',
    950: '#000000',
  },
}
SCSS
$custom: #dedf59;
$custom-light: #ebe88d;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf59",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 89
  },
  "hsl": {
    "h": 60.448,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8779,
    "c": 0.15435,
    "h": 109.6
  },
  "luminance": 0.69026
}

Semantic roles & 50–950 ramp

primary
#DEDF59
secondary
#3B3AA2
accent
#16D017
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDF59

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

Preview Lab → · Contrast checker → · Palette generator →

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