#DDD45F#DDD45F

#DDD45F is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.5% C 0.138 H 104.9°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#DDD45F
RGBrgb(221, 212, 95)
HSLhsl(56, 65%, 62%)
HSVhsv(56, 57%, 87%)
CMYKcmyk(0%, 4.1%, 57%, 13.3%)
CIE-LABlab(83.59, -11.54, 57.80)
CIE-LCHlch(83.59, 58.94, 101.29°)
OKLaboklab(85.46% -0.0355 0.1338)
OKLCHoklch(85.46% 0.138 104.9)
XYZxyz(55.4296, 63.2872, 20.1201)
Luminance0.6329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD45F #5F68DD
analogous
#DD955F #DDD45F #A7DD5F
triadic
#DDD45F #5FDDD4 #D45FDD
tetradic
#DDD45F #5FDD95 #5F68DD #DD5FA7
square
#DDD45F #5FDD95 #5F68DD #DD5FA7
split-complementary
#DDD45F #5FA7DD #955FDD
monochromatic
#A09722 #D2C62D #DDD45F #E8E291 #F2EFC4

Accessibility & contrast

On white

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

On black

13.66
#DDD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD45F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD45F#FFFFFF#000000##000000
##DDD45F1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD53
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#ECC7BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ddd45f;
/* rgb */ color: rgb(221, 212, 95);
/* oklch */ color: oklch(85.5% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#eae190',
    500: '#ddd45f',
    950: '#000000',
  },
}
SCSS
$custom: #ddd45f;
$custom-light: #eae190;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd45f",
  "rgb": {
    "r": 221,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 55.714,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85458,
    "c": 0.13841,
    "h": 104.9
  },
  "luminance": 0.63285
}

Semantic roles & 50–950 ramp

primary
#DDD45F
secondary
#3D44A3
accent
#26CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DDD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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