#DDD151#DDD151

#DDD151 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.147 H 104.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#DDD151
RGBrgb(221, 209, 81)
HSLhsl(55, 67%, 59%)
HSVhsv(55, 63%, 87%)
CMYKcmyk(0%, 5.4%, 63.3%, 13.3%)
CIE-LABlab(82.68, -10.97, 62.84)
CIE-LCHlch(82.68, 63.79, 99.91°)
OKLaboklab(84.7% -0.0354 0.1426)
OKLCHoklch(84.7% 0.147 104)
XYZxyz(54.1065, 61.5692, 16.8170)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD151 #515DDD
analogous
#DD8B51 #DDD151 #A3DD51
triadic
#DDD151 #51DDD1 #D151DD
tetradic
#DDD151 #51DD8B #515DDD #DD51A3
square
#DDD151 #51DD8B #515DDD #DD51A3
split-complementary
#DDD151 #51A3DD #8B51DD
monochromatic
#968C1D #C9BC27 #DDD151 #E7DF84 #F1ECB7

Accessibility & contrast

On white

1.58
#DDD151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#DDD151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD151
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD151#FFFFFF#000000##000000
##DDD1511.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA41
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#EDC4B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ddd151;
/* rgb */ color: rgb(221, 209, 81);
/* oklch */ color: oklch(84.7% 0.147 104.0);
Tailwind
colors: {
  custom: {
    50: '#ebde88',
    500: '#ddd151',
    950: '#000000',
  },
}
SCSS
$custom: #ddd151;
$custom-light: #ebde88;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd151",
  "rgb": {
    "r": 221,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 54.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84695,
    "c": 0.14697,
    "h": 104
  },
  "luminance": 0.61567
}

Semantic roles & 50–950 ramp

primary
#DDD151
secondary
#38409B
accent
#4CEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD151

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

Preview Lab → · Contrast checker → · Palette generator →

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