#DDD97F#DDD97F

#DDD97F is a very light, moderate yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.112 H 106.3°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DDD97F
RGBrgb(221, 217, 127)
HSLhsl(57, 58%, 68%)
HSVhsv(57, 43%, 87%)
CMYKcmyk(0%, 1.8%, 42.5%, 13.3%)
CIE-LABlab(85.27, -11.27, 44.69)
CIE-LCHlch(85.27, 46.09, 104.15°)
OKLaboklab(86.91% -0.0315 0.1079)
OKLCHoklch(86.91% 0.112 106.3)
XYZxyz(58.4635, 66.5316, 29.8367)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD97F #7F83DD
analogous
#DDAA7F #DDD97F #B2DD7F
triadic
#DDD97F #7FDDD9 #D97FDD
tetradic
#DDD97F #7FDDAA #7F83DD #DD7FB2
square
#DDD97F #7FDDAA #7F83DD #DD7FB2
split-complementary
#DDD97F #7FB2DD #AA7FDD
monochromatic
#B2AD2F #D0CB4F #DDD97F #EAE7AF #F7F6E0

Accessibility & contrast

On white

1.47
#DDD97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#DDD97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD97F
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD97F#FFFFFF#000000##000000
##DDD97F1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D378
Deuteranopia (green-blind)
#E9D783
Tritanopia (blue-blind)
#E9CEC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ddd97f;
/* rgb */ color: rgb(221, 217, 127);
/* oklch */ color: oklch(86.9% 0.112 106.3);
Tailwind
colors: {
  custom: {
    50: '#e9e4a5',
    500: '#ddd97f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd97f;
$custom-light: #e9e4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd97f",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 57.447,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86906,
    "c": 0.11243,
    "h": 106.3
  },
  "luminance": 0.6653
}

Semantic roles & 50–950 ramp

primary
#DDD97F
secondary
#4D51B4
accent
#27C620
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DDD97F

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

Preview Lab → · Contrast checker → · Palette generator →

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