#DDD47F#DDD47F

#DDD47F is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.107 H 103.1°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#DDD47F
RGBrgb(221, 212, 127)
HSLhsl(54, 58%, 68%)
HSVhsv(54, 43%, 87%)
CMYKcmyk(0%, 4.1%, 42.5%, 13.3%)
CIE-LABlab(83.96, -8.75, 43.06)
CIE-LCHlch(83.96, 43.94, 101.48°)
OKLaboklab(85.87% -0.0243 0.1043)
OKLCHoklch(85.87% 0.107 103.1)
XYZxyz(57.1942, 63.9930, 29.4136)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD47F #7F88DD
analogous
#DDA57F #DDD47F #B7DD7F
triadic
#DDD47F #7FDDD4 #D47FDD
tetradic
#DDD47F #7FDDA5 #7F88DD #DD7FB7
square
#DDD47F #7FDDA5 #7F88DD #DD7FB7
split-complementary
#DDD47F #7FB7DD #A57FDD
monochromatic
#B2A62F #D0C44F #DDD47F #EAE4AF #F7F4E0

Accessibility & contrast

On white

1.52
#DDD47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#DDD47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD47F
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD47F#FFFFFF#000000##000000
##DDD47F1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF78
Deuteranopia (green-blind)
#E5D483
Tritanopia (blue-blind)
#EACABF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ddd47f;
/* rgb */ color: rgb(221, 212, 127);
/* oklch */ color: oklch(85.9% 0.107 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9e1a5',
    500: '#ddd47f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd47f;
$custom-light: #e9e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd47f",
  "rgb": {
    "r": 221,
    "g": 212,
    "b": 127
  },
  "hsl": {
    "h": 54.255,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8587,
    "c": 0.10704,
    "h": 103.1
  },
  "luminance": 0.63991
}

Semantic roles & 50–950 ramp

primary
#DDD47F
secondary
#4D56B4
accent
#30C620
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DDD47F

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

Preview Lab → · Contrast checker → · Palette generator →

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