#DED462#DED462

#DED462 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.136 H 104.3°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#DED462
RGBrgb(222, 212, 98)
HSLhsl(55, 65%, 63%)
HSVhsv(55, 56%, 87%)
CMYKcmyk(0%, 4.5%, 55.9%, 12.9%)
CIE-LABlab(83.70, -10.91, 56.60)
CIE-LCHlch(83.70, 57.64, 100.91°)
OKLaboklab(85.58% -0.0335 0.1315)
OKLCHoklch(85.58% 0.136 104.3)
XYZxyz(55.8741, 63.5003, 20.8665)
Luminance0.6350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED462 #626CDE
analogous
#DE9662 #DED462 #AADE62
triadic
#DED462 #62DED4 #D462DE
tetradic
#DED462 #62DE96 #626CDE #DE62AA
square
#DED462 #62DE96 #626CDE #DE62AA
split-complementary
#DED462 #62AADE #9662DE
monochromatic
#A39922 #D3C62F #DED462 #E9E295 #F3F0C7

Accessibility & contrast

On white

1.53
#DED462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#DED462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED462
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED462#FFFFFF#000000##000000
##DED4621.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#E8D368
Tritanopia (blue-blind)
#EDC7BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ded462;
/* rgb */ color: rgb(222, 212, 98);
/* oklch */ color: oklch(85.6% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#ebe192',
    500: '#ded462',
    950: '#000000',
  },
}
SCSS
$custom: #ded462;
$custom-light: #ebe192;
$custom-dark: #000000;
JSON
{
  "hex": "#ded462",
  "rgb": {
    "r": 222,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 55.161,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85576,
    "c": 0.13572,
    "h": 104.3
  },
  "luminance": 0.63498
}

Semantic roles & 50–950 ramp

primary
#DED462
secondary
#3E46A6
accent
#27CD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED462

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

Preview Lab → · Contrast checker → · Palette generator →

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