#DEDF57#DEDF57

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

Color values

HEX#DEDF57
RGBrgb(222, 223, 87)
HSLhsl(60, 68%, 61%)
HSVhsv(60, 61%, 87%)
CMYKcmyk(0.4%, 0%, 61%, 12.5%)
CIE-LABlab(86.50, -17.15, 64.45)
CIE-LCHlch(86.50, 66.69, 104.90°)
OKLaboklab(87.77% -0.0524 0.1469)
OKLCHoklch(87.77% 0.156 109.6)
XYZxyz(58.2339, 68.9946, 19.2647)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF57 #5857DF
analogous
#DF9C57 #DEDF57 #9ADF57
triadic
#DEDF57 #57DEDF #DF57DE
tetradic
#DEDF57 #57DF9C #5857DF #DF579A
square
#DEDF57 #57DF9C #5857DF #DF579A
split-complementary
#DEDF57 #579ADF #9C57DF
monochromatic
#9D9E1E #D0D128 #DEDF57 #E8E98A #F2F3BE

Accessibility & contrast

On white

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

On black

14.80
#DEDF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF57
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF57#FFFFFF#000000##000000
##DEDF571.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D646
Deuteranopia (green-blind)
#F1DB5F
Tritanopia (blue-blind)
#EDD2C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedf57;
/* rgb */ color: rgb(222, 223, 87);
/* oklch */ color: oklch(87.8% 0.156 109.6);
Tailwind
colors: {
  custom: {
    50: '#ebe88c',
    500: '#dedf57',
    950: '#000000',
  },
}
SCSS
$custom: #dedf57;
$custom-light: #ebe88c;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf57",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 60.441,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87772,
    "c": 0.15591,
    "h": 109.6
  },
  "luminance": 0.68993
}

Semantic roles & 50–950 ramp

primary
#DEDF57
secondary
#3A39A1
accent
#16D017
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDF57

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

Preview Lab → · Contrast checker → · Palette generator →

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