#DDC951#DDC951

#DDC951 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.140 H 99.8°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#DDC951
RGBrgb(221, 201, 81)
HSLhsl(51, 67%, 59%)
HSVhsv(51, 63%, 87%)
CMYKcmyk(0%, 9%, 63.3%, 13.3%)
CIE-LABlab(80.59, -6.91, 60.61)
CIE-LCHlch(80.59, 61.00, 96.51°)
OKLaboklab(83.04% -0.0239 0.1379)
OKLCHoklch(83.04% 0.14 99.8)
XYZxyz(52.1928, 57.7418, 16.1791)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDC951 #5165DD
analogous
#DD8351 #DDC951 #ABDD51
triadic
#DDC951 #51DDC9 #C951DD
tetradic
#DDC951 #51DD83 #5165DD #DD51AB
square
#DDC951 #51DD83 #5165DD #DD51AB
split-complementary
#DDC951 #51ABDD #8351DD
monochromatic
#96851D #C9B227 #DDC951 #E7D984 #F1E9B7

Accessibility & contrast

On white

1.67
#DDC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#DDC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDC951
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDC951#FFFFFF#000000##000000
##DDC9511.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E1CB57
Tritanopia (blue-blind)
#EDBBB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ddc951;
/* rgb */ color: rgb(221, 201, 81);
/* oklch */ color: oklch(83.0% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#ebd987',
    500: '#ddc951',
    950: '#000000',
  },
}
SCSS
$custom: #ddc951;
$custom-light: #ebd987;
$custom-dark: #000000;
JSON
{
  "hex": "#ddc951",
  "rgb": {
    "r": 221,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 51.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83036,
    "c": 0.13996,
    "h": 99.8
  },
  "luminance": 0.5774
}

Semantic roles & 50–950 ramp

primary
#DDC951
secondary
#38469B
accent
#56EA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDC951

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

Preview Lab → · Contrast checker → · Palette generator →

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