#DDD251#DDD251

#DDD251 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.9% C 0.148 H 104.4°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#DDD251
RGBrgb(221, 210, 81)
HSLhsl(55, 67%, 59%)
HSVhsv(55, 63%, 87%)
CMYKcmyk(0%, 5%, 63.3%, 13.3%)
CIE-LABlab(82.95, -11.48, 63.12)
CIE-LCHlch(82.95, 64.15, 100.31°)
OKLaboklab(84.9% -0.0369 0.1432)
OKLCHoklch(84.9% 0.148 104.4)
XYZxyz(54.3526, 62.0614, 16.8990)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD251 #515CDD
analogous
#DD8C51 #DDD251 #A2DD51
triadic
#DDD251 #51DDD2 #D251DD
tetradic
#DDD251 #51DD8C #515CDD #DD51A2
square
#DDD251 #51DD8C #515CDD #DD51A2
split-complementary
#DDD251 #51A2DD #8C51DD
monochromatic
#968D1D #C9BD27 #DDD251 #E7DF84 #F1ECB7

Accessibility & contrast

On white

1.57
#DDD251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#DDD251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD251
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD251#FFFFFF#000000##000000
##DDD2511.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#EDC5B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ddd251;
/* rgb */ color: rgb(221, 210, 81);
/* oklch */ color: oklch(84.9% 0.148 104.4);
Tailwind
colors: {
  custom: {
    50: '#ebdf88',
    500: '#ddd251',
    950: '#000000',
  },
}
SCSS
$custom: #ddd251;
$custom-light: #ebdf88;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd251",
  "rgb": {
    "r": 221,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 55.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84904,
    "c": 0.14788,
    "h": 104.4
  },
  "luminance": 0.62059
}

Semantic roles & 50–950 ramp

primary
#DDD251
secondary
#383F9B
accent
#4BEA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DDD251

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

Preview Lab → · Contrast checker → · Palette generator →

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