#DDD162#DDD162

#DDD162 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.133 H 103.2°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#DDD162
RGBrgb(221, 209, 98)
HSLhsl(54, 64%, 63%)
HSVhsv(54, 56%, 87%)
CMYKcmyk(0%, 5.4%, 55.7%, 13.3%)
CIE-LABlab(82.84, -9.81, 55.59)
CIE-LCHlch(82.84, 56.44, 100.01°)
OKLaboklab(84.87% -0.0302 0.1294)
OKLCHoklch(84.87% 0.133 103.2)
XYZxyz(54.8257, 61.8568, 20.6045)
Luminance0.6186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD162 #626EDD
analogous
#DD9362 #DDD162 #ACDD62
triadic
#DDD162 #62DDD1 #D162DD
tetradic
#DDD162 #62DD93 #626EDD #DD62AC
square
#DDD162 #62DD93 #626EDD #DD62AC
split-complementary
#DDD162 #62ACDD #9362DD
monochromatic
#A29523 #D2C230 #DDD162 #E8E094 #F3EEC7

Accessibility & contrast

On white

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

On black

13.37
#DDD162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD162
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD162#FFFFFF#000000##000000
##DDD1621.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#E5D168
Tritanopia (blue-blind)
#ECC4B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ddd162;
/* rgb */ color: rgb(221, 209, 98);
/* oklch */ color: oklch(84.9% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#eade92',
    500: '#ddd162',
    950: '#000000',
  },
}
SCSS
$custom: #ddd162;
$custom-light: #eade92;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd162",
  "rgb": {
    "r": 221,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 54.146,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84866,
    "c": 0.13286,
    "h": 103.2
  },
  "luminance": 0.61855
}

Semantic roles & 50–950 ramp

primary
#DDD162
secondary
#3E48A5
accent
#2BCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DDD162

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

Preview Lab → · Contrast checker → · Palette generator →

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