#DDD73B#DDD73B

#DDD73B is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.8% C 0.167 H 107.2°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#DDD73B
RGBrgb(221, 215, 59)
HSLhsl(58, 70%, 55%)
HSVhsv(58, 73%, 87%)
CMYKcmyk(0%, 2.7%, 73.3%, 13.3%)
CIE-LABlab(84.12, -15.11, 72.51)
CIE-LCHlch(84.12, 74.07, 101.77°)
OKLaboklab(85.79% -0.0493 0.1594)
OKLCHoklch(85.79% 0.167 107.2)
XYZxyz(54.9108, 64.2907, 13.6537)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDD73B #3B41DD
analogous
#DD863B #DDD73B #92DD3B
triadic
#DDD73B #3BDDD7 #D73BDD
tetradic
#DDD73B #3BDD86 #3B41DD #DD3B92
square
#DDD73B #3BDD86 #3B41DD #DD3B92
split-complementary
#DDD73B #3B92DD #863BDD
monochromatic
#868217 #BAB520 #DDD73B #E6E26F #EFECA3

Accessibility & contrast

On white

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

On black

13.86
#DDD73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDD73B
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDD73B#FFFFFF#000000##000000
##DDD73B1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF1A
Deuteranopia (green-blind)
#ECD447
Tritanopia (blue-blind)
#EDC9B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ddd73b;
/* rgb */ color: rgb(221, 215, 59);
/* oklch */ color: oklch(85.8% 0.167 107.2);
Tailwind
colors: {
  custom: {
    50: '#ece37c',
    500: '#ddd73b',
    950: '#000000',
  },
}
SCSS
$custom: #ddd73b;
$custom-light: #ece37c;
$custom-dark: #000000;
JSON
{
  "hex": "#ddd73b",
  "rgb": {
    "r": 221,
    "g": 215,
    "b": 59
  },
  "hsl": {
    "h": 57.778,
    "s": 70.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85789,
    "c": 0.16687,
    "h": 107.2
  },
  "luminance": 0.64289
}

Semantic roles & 50–950 ramp

primary
#DDD73B
secondary
#30338C
accent
#41ED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DDD73B

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

Preview Lab → · Contrast checker → · Palette generator →

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