#DEDF62#DEDF62

#DEDF62 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.147 H 109.5°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#DEDF62
RGBrgb(222, 223, 98)
HSLhsl(60, 66%, 63%)
HSVhsv(60, 56%, 87%)
CMYKcmyk(0.4%, 0%, 56.1%, 12.5%)
CIE-LABlab(86.60, -16.39, 59.86)
CIE-LCHlch(86.60, 62.07, 105.31°)
OKLaboklab(87.88% -0.0491 0.1385)
OKLCHoklch(87.88% 0.147 109.5)
XYZxyz(58.7181, 69.1883, 21.8145)
Luminance0.6919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF62 #6362DF
analogous
#DFA162 #DEDF62 #9FDF62
triadic
#DEDF62 #62DEDF #DF62DE
tetradic
#DEDF62 #62DFA1 #6362DF #DF629F
square
#DEDF62 #62DFA1 #6362DF #DF629F
split-complementary
#DEDF62 #629FDF #A162DF
monochromatic
#A4A522 #D3D52F #DEDF62 #E9E995 #F3F4C8

Accessibility & contrast

On white

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

On black

14.84
#DEDF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDF62
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDF62#FFFFFF#000000##000000
##DEDF621.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD655
Deuteranopia (green-blind)
#F1DB69
Tritanopia (blue-blind)
#ECD2C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dedf62;
/* rgb */ color: rgb(222, 223, 98);
/* oklch */ color: oklch(87.9% 0.147 109.5);
Tailwind
colors: {
  custom: {
    50: '#ebe893',
    500: '#dedf62',
    950: '#000000',
  },
}
SCSS
$custom: #dedf62;
$custom-light: #ebe893;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf62",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 60.48,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87879,
    "c": 0.14695,
    "h": 109.5
  },
  "luminance": 0.69187
}

Semantic roles & 50–950 ramp

primary
#DEDF62
secondary
#3E3EA8
accent
#17CE19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #DEDF62

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

Preview Lab → · Contrast checker → · Palette generator →

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