#DDD397#DDD397

#DDD397 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.079 H 99.8°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DDD397
RGBrgb(221, 211, 151)
HSLhsl(51, 51%, 73%)
HSVhsv(51, 32%, 87%)
CMYKcmyk(0%, 4.5%, 31.7%, 13.3%)
CIE-LABlab(84.07, -5.53, 31.02)
CIE-LCHlch(84.07, 31.51, 100.11°)
OKLaboklab(86.07% -0.0134 0.0774)
OKLCHoklch(86.07% 0.079 99.8)
XYZxyz(58.6996, 64.1964, 38.5711)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD397 #97A1DD
analogous
#DDB097 #DDD397 #C4DD97
triadic
#DDD397 #97DDD3 #D397DD
tetradic
#DDD397 #97DDB0 #97A1DD #DD97C4
square
#DDD397 #97DDB0 #97A1DD #DD97C4
split-complementary
#DDD397 #97C4DD #B097DD
monochromatic
#BCAA3D #CEBF69 #DDD397 #ECE7C5 #F7F5E8

Accessibility & contrast

On white

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

On black

13.84
#DDD397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD397
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD397#FFFFFF#000000##000000
##DDD3971.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECF93
Deuteranopia (green-blind)
#E1D499
Tritanopia (blue-blind)
#E7CBC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ddd397;
/* rgb */ color: rgb(221, 211, 151);
/* oklch */ color: oklch(86.1% 0.079 99.8);
Tailwind
colors: {
  custom: {
    50: '#e8e0b6',
    500: '#ddd397',
    950: '#000000',
  },
}
SCSS
$custom: #ddd397;
$custom-light: #e8e0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd397",
  "rgb": {
    "r": 221,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 51.429,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.86073,
    "c": 0.07858,
    "h": 99.8
  },
  "luminance": 0.64195
}

Semantic roles & 50–950 ramp

primary
#DDD397
secondary
#636FB5
accent
#3DBE27
background
#FEFEFD
surface
#FDFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #DDD397

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

Preview Lab → · Contrast checker → · Palette generator →

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