#DDD45B#DDD45B

#DDD45B is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.142 H 105.0°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#DDD45B
RGBrgb(221, 212, 91)
HSLhsl(56, 66%, 61%)
HSVhsv(56, 59%, 87%)
CMYKcmyk(0%, 4.1%, 58.8%, 13.3%)
CIE-LABlab(83.56, -11.83, 59.52)
CIE-LCHlch(83.56, 60.68, 101.24°)
OKLaboklab(85.42% -0.0368 0.137)
OKLCHoklch(85.42% 0.142 105)
XYZxyz(55.2525, 63.2163, 19.1870)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD45B #5B64DD
analogous
#DD935B #DDD45B #A5DD5B
triadic
#DDD45B #5BDDD4 #D45BDD
tetradic
#DDD45B #5BDD93 #5B64DD #DD5BA5
square
#DDD45B #5BDD93 #5B64DD #DD5BA5
split-complementary
#DDD45B #5BA5DD #935BDD
monochromatic
#9D9421 #D0C42B #DDD45B #E8E18E #F2EFC0

Accessibility & contrast

On white

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

On black

13.64
#DDD45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD45B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD45B#FFFFFF#000000##000000
##DDD45B1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddd45b;
/* rgb */ color: rgb(221, 212, 91);
/* oklch */ color: oklch(85.4% 0.142 105.0);
Tailwind
colors: {
  custom: {
    50: '#eae18e',
    500: '#ddd45b',
    950: '#000000',
  },
}
SCSS
$custom: #ddd45b;
$custom-light: #eae18e;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd45b",
  "rgb": {
    "r": 221,
    "g": 212,
    "b": 91
  },
  "hsl": {
    "h": 55.846,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85416,
    "c": 0.14182,
    "h": 105
  },
  "luminance": 0.63214
}

Semantic roles & 50–950 ramp

primary
#DDD45B
secondary
#3B43A1
accent
#25CE18
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DDD45B

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

Preview Lab → · Contrast checker → · Palette generator →

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