#DDC158#DDC158

#DDC158 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.128 H 94.5°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#DDC158
RGBrgb(221, 193, 88)
HSLhsl(47, 66%, 61%)
HSVhsv(47, 60%, 87%)
CMYKcmyk(0%, 12.7%, 60.2%, 13.3%)
CIE-LABlab(78.59, -2.34, 55.33)
CIE-LCHlch(78.59, 55.38, 92.42°)
OKLaboklab(81.47% -0.0099 0.1276)
OKLCHoklch(81.47% 0.128 94.5)
XYZxyz(50.6524, 54.2191, 17.0279)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC158 #5874DD
analogous
#DD7E58 #DDC158 #B7DD58
triadic
#DDC158 #58DDC1 #C158DD
tetradic
#DDC158 #58DD7E #5874DD #DD58B7
square
#DDC158 #58DD7E #5874DD #DD58B7
split-complementary
#DDC158 #58B7DD #7E58DD
monochromatic
#9B8120 #CEAB2A #DDC158 #E7D48B #F2E7BE

Accessibility & contrast

On white

1.77
#DDC158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#DDC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC158
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC158#FFFFFF#000000##000000
##DDC1581.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#EDB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ddc158;
/* rgb */ color: rgb(221, 193, 88);
/* oklch */ color: oklch(81.5% 0.128 94.5);
Tailwind
colors: {
  custom: {
    50: '#ebd38b',
    500: '#ddc158',
    950: '#000000',
  },
}
SCSS
$custom: #ddc158;
$custom-light: #ebd38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc158",
  "rgb": {
    "r": 221,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 47.368,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81468,
    "c": 0.12802,
    "h": 94.5
  },
  "luminance": 0.54217
}

Semantic roles & 50–950 ramp

primary
#DDC158
secondary
#3A4F9F
accent
#3ECE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC158

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

Preview Lab → · Contrast checker → · Palette generator →

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