#DDD372#DDD372

#DDD372 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.120 H 103.4°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DDD372
RGBrgb(221, 211, 114)
HSLhsl(54, 61%, 66%)
HSVhsv(54, 48%, 87%)
CMYKcmyk(0%, 4.5%, 48.4%, 13.3%)
CIE-LABlab(83.54, -9.49, 48.90)
CIE-LCHlch(83.54, 49.81, 100.98°)
OKLaboklab(85.48% -0.0276 0.1164)
OKLCHoklch(85.48% 0.12 103.4)
XYZxyz(56.1518, 63.1773, 25.1529)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD372 #727CDD
analogous
#DD9E72 #DDD372 #B1DD72
triadic
#DDD372 #72DDD3 #D372DD
tetradic
#DDD372 #72DD9E #727CDD #DD72B1
square
#DDD372 #72DD9E #727CDD #DD72B1
split-complementary
#DDD372 #72B1DD #9E72DD
monochromatic
#AB9F29 #D1C441 #DDD372 #E9E2A3 #F5F2D5

Accessibility & contrast

On white

1.54
#DDD372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#DDD372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD372
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD372#FFFFFF#000000##000000
##DDD3721.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6A
Deuteranopia (green-blind)
#E6D376
Tritanopia (blue-blind)
#EBC8BC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ddd372;
/* rgb */ color: rgb(221, 211, 114);
/* oklch */ color: oklch(85.5% 0.120 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9e09d',
    500: '#ddd372',
    950: '#000000',
  },
}
SCSS
$custom: #ddd372;
$custom-light: #e9e09d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd372",
  "rgb": {
    "r": 221,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 54.393,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85478,
    "c": 0.11959,
    "h": 103.4
  },
  "luminance": 0.63176
}

Semantic roles & 50–950 ramp

primary
#DDD372
secondary
#464FAE
accent
#2DC91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DDD372

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

Preview Lab → · Contrast checker → · Palette generator →

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