#DED162#DED162

#DED162 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.133 H 102.7°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DED162
RGBrgb(222, 209, 98)
HSLhsl(54, 65%, 63%)
HSVhsv(54, 56%, 87%)
CMYKcmyk(0%, 5.9%, 55.9%, 12.9%)
CIE-LABlab(82.92, -9.40, 55.70)
CIE-LCHlch(82.92, 56.49, 99.58°)
OKLaboklab(84.95% -0.0291 0.1296)
OKLCHoklch(84.95% 0.133 102.7)
XYZxyz(55.1311, 62.0143, 20.6188)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DED162 #626FDE
analogous
#DE9362 #DED162 #ADDE62
triadic
#DED162 #62DED1 #D162DE
tetradic
#DED162 #62DE93 #626FDE #DE62AD
square
#DED162 #62DE93 #626FDE #DE62AD
split-complementary
#DED162 #62ADDE #9362DE
monochromatic
#A39622 #D3C22F #DED162 #E9E095 #F3EFC7

Accessibility & contrast

On white

1.57
#DED162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DED162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DED162
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DED162#FFFFFF#000000##000000
##DED1621.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E6D168
Tritanopia (blue-blind)
#EDC4B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ded162;
/* rgb */ color: rgb(222, 209, 98);
/* oklch */ color: oklch(85.0% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#ebde92',
    500: '#ded162',
    950: '#000000',
  },
}
SCSS
$custom: #ded162;
$custom-light: #ebde92;
$custom-dark: #000000;
JSON
{
  "hex": "#ded162",
  "rgb": {
    "r": 222,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 53.71,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.13284,
    "h": 102.7
  },
  "luminance": 0.62012
}

Semantic roles & 50–950 ramp

primary
#DED162
secondary
#3E49A6
accent
#2BCD18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DED162

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

Preview Lab → · Contrast checker → · Palette generator →

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