#DDC157#DDC157

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

Color values

HEX#DDC157
RGBrgb(221, 193, 87)
HSLhsl(47, 66%, 60%)
HSVhsv(47, 61%, 87%)
CMYKcmyk(0%, 12.7%, 60.6%, 13.3%)
CIE-LABlab(78.58, -2.41, 55.77)
CIE-LCHlch(78.58, 55.83, 92.47°)
OKLaboklab(81.46% -0.0102 0.1285)
OKLCHoklch(81.46% 0.129 94.6)
XYZxyz(50.6113, 54.2027, 16.8113)
Luminance0.5420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC157 #5773DD
analogous
#DD7E57 #DDC157 #B6DD57
triadic
#DDC157 #57DDC1 #C157DD
tetradic
#DDC157 #57DD7E #5773DD #DD57B6
square
#DDC157 #57DD7E #5773DD #DD57B6
split-complementary
#DDC157 #57B6DD #7E57DD
monochromatic
#9A811F #CDAB2A #DDC157 #E7D48A #F2E7BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DDC157#FFFFFF#000000##000000
##DDC1571.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)
#D3BD4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#EDB4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ddc157;
/* rgb */ color: rgb(221, 193, 87);
/* oklch */ color: oklch(81.5% 0.129 94.6);
Tailwind
colors: {
  custom: {
    50: '#ebd38a',
    500: '#ddc157',
    950: '#000000',
  },
}
SCSS
$custom: #ddc157;
$custom-light: #ebd38a;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc157",
  "rgb": {
    "r": 221,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 47.463,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81458,
    "c": 0.12886,
    "h": 94.6
  },
  "luminance": 0.542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDC157

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

Preview Lab → · Contrast checker → · Palette generator →

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