#DDC257#DDC257

#DDC257 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.7% C 0.130 H 95.2°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#DDC257
RGBrgb(221, 194, 87)
HSLhsl(48, 66%, 60%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 12.2%, 60.6%, 13.3%)
CIE-LABlab(78.84, -2.92, 56.06)
CIE-LCHlch(78.84, 56.14, 92.99°)
OKLaboklab(81.66% -0.0117 0.1291)
OKLCHoklch(81.66% 0.13 95.2)
XYZxyz(50.8331, 54.6463, 16.8852)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC257 #5772DD
analogous
#DD7F57 #DDC257 #B5DD57
triadic
#DDC257 #57DDC2 #C257DD
tetradic
#DDC257 #57DD7F #5772DD #DD57B5
square
#DDC257 #57DD7F #5772DD #DD57B5
split-complementary
#DDC257 #57B5DD #7F57DD
monochromatic
#9A821F #CDAC2A #DDC257 #E7D48A #F2E7BD

Accessibility & contrast

On white

1.76
#DDC257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#DDC257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC257
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC257#FFFFFF#000000##000000
##DDC2571.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#EDB5AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ddc257;
/* rgb */ color: rgb(221, 194, 87);
/* oklch */ color: oklch(81.7% 0.130 95.2);
Tailwind
colors: {
  custom: {
    50: '#ebd48a',
    500: '#ddc257',
    950: '#000000',
  },
}
SCSS
$custom: #ddc257;
$custom-light: #ebd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc257",
  "rgb": {
    "r": 221,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 47.91,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81661,
    "c": 0.12959,
    "h": 95.2
  },
  "luminance": 0.54644
}

Semantic roles & 50–950 ramp

primary
#DDC257
secondary
#3A4E9E
accent
#3CCE17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC257

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

Preview Lab → · Contrast checker → · Palette generator →

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