#DEDF51#DEDF51

#DEDF51 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.7% C 0.160 H 109.7°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#DEDF51
RGBrgb(222, 223, 81)
HSLhsl(60, 69%, 60%)
HSVhsv(60, 64%, 87%)
CMYKcmyk(0.4%, 0%, 63.7%, 12.5%)
CIE-LABlab(86.45, -17.52, 66.83)
CIE-LCHlch(86.45, 69.08, 104.69°)
OKLaboklab(87.72% -0.054 0.151)
OKLCHoklch(87.72% 0.16 109.7)
XYZxyz(57.9989, 68.9006, 18.0269)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF51 #5251DF
analogous
#DF9951 #DEDF51 #97DF51
triadic
#DEDF51 #51DEDF #DF51DE
tetradic
#DEDF51 #51DF99 #5251DF #DF5197
square
#DEDF51 #51DF99 #5251DF #DF5197
split-complementary
#DEDF51 #5197DF #9951DF
monochromatic
#99991C #CCCD26 #DEDF51 #E8E985 #F2F2B8

Accessibility & contrast

On white

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

On black

14.78
#DEDF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF51
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF51#FFFFFF#000000##000000
##DEDF511.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dedf51;
/* rgb */ color: rgb(222, 223, 81);
/* oklch */ color: oklch(87.7% 0.160 109.7);
Tailwind
colors: {
  custom: {
    50: '#ebe889',
    500: '#dedf51',
    950: '#000000',
  },
}
SCSS
$custom: #dedf51;
$custom-light: #ebe889;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf51",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 60.423,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87719,
    "c": 0.16039,
    "h": 109.7
  },
  "luminance": 0.68899
}

Semantic roles & 50–950 ramp

primary
#DEDF51
secondary
#38379D
accent
#3CEC3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DEDF51

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

Preview Lab → · Contrast checker → · Palette generator →

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