#DDD157#DDD157

#DDD157 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.8% C 0.142 H 103.7°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#DDD157
RGBrgb(221, 209, 87)
HSLhsl(55, 66%, 60%)
HSVhsv(55, 61%, 87%)
CMYKcmyk(0%, 5.4%, 60.6%, 13.3%)
CIE-LABlab(82.73, -10.59, 60.35)
CIE-LCHlch(82.73, 61.28, 99.95°)
OKLaboklab(84.75% -0.0337 0.1382)
OKLCHoklch(84.75% 0.142 103.7)
XYZxyz(54.3415, 61.6632, 18.0547)
Luminance0.6166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD157 #5763DD
analogous
#DD8E57 #DDD157 #A6DD57
triadic
#DDD157 #57DDD1 #D157DD
tetradic
#DDD157 #57DD8E #5763DD #DD57A6
square
#DDD157 #57DD8E #5763DD #DD57A6
split-complementary
#DDD157 #57A6DD #8E57DD
monochromatic
#9A8F1F #CDBF2A #DDD157 #E7DF8A #F2EDBD

Accessibility & contrast

On white

1.58
#DDD157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#DDD157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD157
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD157#FFFFFF#000000##000000
##DDD1571.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA49
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#ECC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ddd157;
/* rgb */ color: rgb(221, 209, 87);
/* oklch */ color: oklch(84.8% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#ebde8b',
    500: '#ddd157',
    950: '#000000',
  },
}
SCSS
$custom: #ddd157;
$custom-light: #ebde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd157",
  "rgb": {
    "r": 221,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 54.627,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84751,
    "c": 0.14226,
    "h": 103.7
  },
  "luminance": 0.61661
}

Semantic roles & 50–950 ramp

primary
#DDD157
secondary
#3A439E
accent
#28CE17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD157

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

Preview Lab → · Contrast checker → · Palette generator →

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