#DDC151#DDC151

#DDC151 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.134 H 95.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DDC151
RGBrgb(221, 193, 81)
HSLhsl(48, 67%, 59%)
HSVhsv(48, 63%, 87%)
CMYKcmyk(0%, 12.7%, 63.3%, 13.3%)
CIE-LABlab(78.53, -2.80, 58.38)
CIE-LCHlch(78.53, 58.45, 92.74°)
OKLaboklab(81.4% -0.0121 0.1332)
OKLCHoklch(81.4% 0.134 95.2)
XYZxyz(50.3762, 54.1087, 15.5735)
Luminance0.5411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC151 #516DDD
analogous
#DD7B51 #DDC151 #B3DD51
triadic
#DDC151 #51DDC1 #C151DD
tetradic
#DDC151 #51DD7B #516DDD #DD51B3
square
#DDC151 #51DD7B #516DDD #DD51B3
split-complementary
#DDC151 #51B3DD #7B51DD
monochromatic
#967E1D #C9A927 #DDC151 #E7D384 #F1E5B7

Accessibility & contrast

On white

1.78
#DDC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DDC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC151
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC151#FFFFFF#000000##000000
##DDC1511.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD44
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#EEB3A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ddc151;
/* rgb */ color: rgb(221, 193, 81);
/* oklch */ color: oklch(81.4% 0.134 95.2);
Tailwind
colors: {
  custom: {
    50: '#ebd386',
    500: '#ddc151',
    950: '#000000',
  },
}
SCSS
$custom: #ddc151;
$custom-light: #ebd386;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc151",
  "rgb": {
    "r": 221,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 48,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81397,
    "c": 0.13373,
    "h": 95.2
  },
  "luminance": 0.54106
}

Semantic roles & 50–950 ramp

primary
#DDC151
secondary
#384B9B
accent
#60EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DDC151

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

Preview Lab → · Contrast checker → · Palette generator →

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