#DDD95F#DDD95F

#DDD95F is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.143 H 107.3°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#DDD95F
RGBrgb(221, 217, 95)
HSLhsl(58, 65%, 62%)
HSVhsv(58, 57%, 87%)
CMYKcmyk(0%, 1.8%, 57%, 13.3%)
CIE-LABlab(84.91, -14.04, 59.27)
CIE-LCHlch(84.91, 60.91, 103.33°)
OKLaboklab(86.5% -0.0426 0.1369)
OKLCHoklch(86.5% 0.143 107.3)
XYZxyz(56.6989, 65.8258, 20.5432)
Luminance0.6582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD95F #5F63DD
analogous
#DD9A5F #DDD95F #A2DD5F
triadic
#DDD95F #5FDDD9 #D95FDD
tetradic
#DDD95F #5FDD9A #5F63DD #DD5FA2
square
#DDD95F #5FDD9A #5F63DD #DD5FA2
split-complementary
#DDD95F #5FA2DD #9A5FDD
monochromatic
#A09C22 #D2CD2D #DDD95F #E8E591 #F2F1C4

Accessibility & contrast

On white

1.48
#DDD95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#DDD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD95F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD95F#FFFFFF#000000##000000
##DDD95F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#EBCCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ddd95f;
/* rgb */ color: rgb(221, 217, 95);
/* oklch */ color: oklch(86.5% 0.143 107.3);
Tailwind
colors: {
  custom: {
    50: '#eae491',
    500: '#ddd95f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd95f;
$custom-light: #eae491;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd95f",
  "rgb": {
    "r": 221,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 58.095,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86504,
    "c": 0.14341,
    "h": 107.3
  },
  "luminance": 0.65824
}

Semantic roles & 50–950 ramp

primary
#DDD95F
secondary
#3D40A3
accent
#1ECD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DDD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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