#DDC251#DDC251

#DDC251 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.6% C 0.134 H 95.8°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DDC251
RGBrgb(221, 194, 81)
HSLhsl(48, 67%, 59%)
HSVhsv(48, 63%, 87%)
CMYKcmyk(0%, 12.2%, 63.3%, 13.3%)
CIE-LABlab(78.78, -3.32, 58.66)
CIE-LCHlch(78.78, 58.75, 93.24°)
OKLaboklab(81.6% -0.0136 0.1338)
OKLCHoklch(81.6% 0.134 95.8)
XYZxyz(50.5981, 54.5523, 15.6475)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC251 #516CDD
analogous
#DD7C51 #DDC251 #B2DD51
triadic
#DDC251 #51DDC2 #C251DD
tetradic
#DDC251 #51DD7C #516CDD #DD51B2
square
#DDC251 #51DD7C #516CDD #DD51B2
split-complementary
#DDC251 #51B2DD #7C51DD
monochromatic
#967F1D #C9AA27 #DDC251 #E7D484 #F1E6B7

Accessibility & contrast

On white

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

On black

11.91
#DDC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC251
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC251#FFFFFF#000000##000000
##DDC2511.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE44
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#EEB4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ddc251;
/* rgb */ color: rgb(221, 194, 81);
/* oklch */ color: oklch(81.6% 0.134 95.8);
Tailwind
colors: {
  custom: {
    50: '#ebd486',
    500: '#ddc251',
    950: '#000000',
  },
}
SCSS
$custom: #ddc251;
$custom-light: #ebd486;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc251",
  "rgb": {
    "r": 221,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 48.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81601,
    "c": 0.13446,
    "h": 95.8
  },
  "luminance": 0.5455
}

Semantic roles & 50–950 ramp

primary
#DDC251
secondary
#384B9B
accent
#5FEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC251

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

Preview Lab → · Contrast checker → · Palette generator →

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