#DEDF52#DEDF52

#DEDF52 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#DEDF52
RGBrgb(222, 223, 82)
HSLhsl(60, 69%, 60%)
HSVhsv(60, 63%, 87%)
CMYKcmyk(0.4%, 0%, 63.2%, 12.5%)
CIE-LABlab(86.46, -17.46, 66.44)
CIE-LCHlch(86.46, 68.69, 104.72°)
OKLaboklab(87.73% -0.0538 0.1504)
OKLCHoklch(87.73% 0.16 109.7)
XYZxyz(58.0367, 68.9157, 18.2259)
Luminance0.6891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDF52 #5352DF
analogous
#DF9A52 #DEDF52 #97DF52
triadic
#DEDF52 #52DEDF #DF52DE
tetradic
#DEDF52 #52DF9A #5352DF #DF5297
square
#DEDF52 #52DF9A #5352DF #DF5297
split-complementary
#DEDF52 #5297DF #9A52DF
monochromatic
#999A1D #CDCE26 #DEDF52 #E8E986 #F2F2B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DEDF52#FFFFFF#000000##000000
##DEDF521.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)
#F0D63F
Deuteranopia (green-blind)
#F2DB5B
Tritanopia (blue-blind)
#EDD2C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dedf52;
/* rgb */ color: rgb(222, 223, 82);
/* oklch */ color: oklch(87.7% 0.160 109.7);
Tailwind
colors: {
  custom: {
    50: '#ebe889',
    500: '#dedf52',
    950: '#000000',
  },
}
SCSS
$custom: #dedf52;
$custom-light: #ebe889;
$custom-dark: #000000;
JSON
{
  "hex": "#dedf52",
  "rgb": {
    "r": 222,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 60.426,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87728,
    "c": 0.15967,
    "h": 109.7
  },
  "luminance": 0.68914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DEDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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