#DDD158#DDD158

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

Color values

HEX#DDD158
RGBrgb(221, 209, 88)
HSLhsl(55, 66%, 61%)
HSVhsv(55, 60%, 87%)
CMYKcmyk(0%, 5.4%, 60.2%, 13.3%)
CIE-LABlab(82.74, -10.52, 59.93)
CIE-LCHlch(82.74, 60.85, 99.96°)
OKLaboklab(84.76% -0.0334 0.1374)
OKLCHoklch(84.76% 0.141 103.7)
XYZxyz(54.3827, 61.6796, 18.2714)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD158 #5864DD
analogous
#DD8E58 #DDD158 #A7DD58
triadic
#DDD158 #58DDD1 #D158DD
tetradic
#DDD158 #58DD8E #5864DD #DD58A7
square
#DDD158 #58DD8E #5864DD #DD58A7
split-complementary
#DDD158 #58A7DD #8E58DD
monochromatic
#9B9020 #CEBF2A #DDD158 #E7DF8B #F2EDBE

Accessibility & contrast

On white

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

On black

13.34
#DDD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD158
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD158#FFFFFF#000000##000000
##DDD1581.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddd158;
/* rgb */ color: rgb(221, 209, 88);
/* oklch */ color: oklch(84.8% 0.141 103.7);
Tailwind
colors: {
  custom: {
    50: '#eade8c',
    500: '#ddd158',
    950: '#000000',
  },
}
SCSS
$custom: #ddd158;
$custom-light: #eade8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd158",
  "rgb": {
    "r": 221,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 54.586,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84761,
    "c": 0.14144,
    "h": 103.7
  },
  "luminance": 0.61678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDD158

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

Preview Lab → · Contrast checker → · Palette generator →

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