#DEDA52#DEDA52

#DEDA52 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.7% C 0.155 H 107.6°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#DEDA52
RGBrgb(222, 218, 82)
HSLhsl(58, 68%, 60%)
HSVhsv(58, 63%, 87%)
CMYKcmyk(0%, 1.8%, 63.1%, 12.9%)
CIE-LABlab(85.14, -15.00, 65.05)
CIE-LCHlch(85.14, 66.76, 102.98°)
OKLaboklab(86.67% -0.0468 0.1474)
OKLCHoklch(86.67% 0.155 107.6)
XYZxyz(56.7205, 66.2834, 17.7871)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEDA52 #5256DE
analogous
#DE9452 #DEDA52 #9CDE52
triadic
#DEDA52 #52DEDA #DA52DE
tetradic
#DEDA52 #52DE94 #5256DE #DE529C
square
#DEDA52 #52DE94 #5256DE #DE529C
split-complementary
#DEDA52 #529CDE #9452DE
monochromatic
#99951D #CCC727 #DEDA52 #E8E585 #F2F0B9

Accessibility & contrast

On white

1.47
#DEDA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#DEDA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEDA52
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEDA52#FFFFFF#000000##000000
##DEDA521.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD241
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#EDCDBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #deda52;
/* rgb */ color: rgb(222, 218, 82);
/* oklch */ color: oklch(86.7% 0.155 107.6);
Tailwind
colors: {
  custom: {
    50: '#ebe589',
    500: '#deda52',
    950: '#000000',
  },
}
SCSS
$custom: #deda52;
$custom-light: #ebe589;
$custom-dark: #000000;
JSON
{
  "hex": "#deda52",
  "rgb": {
    "r": 222,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 58.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86674,
    "c": 0.15467,
    "h": 107.6
  },
  "luminance": 0.66282
}

Semantic roles & 50–950 ramp

primary
#DEDA52
secondary
#383B9D
accent
#42EB3D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DEDA52

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

Preview Lab → · Contrast checker → · Palette generator →

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