#DDBD42#DDBD42

#DDBD42 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.5% C 0.142 H 94.2°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#DDBD42
RGBrgb(221, 189, 66)
HSLhsl(48, 70%, 56%)
HSVhsv(48, 70%, 87%)
CMYKcmyk(0%, 14.5%, 70.1%, 13.3%)
CIE-LABlab(77.38, -1.57, 63.43)
CIE-LCHlch(77.38, 63.45, 91.42°)
OKLaboklab(80.45% -0.0103 0.1415)
OKLCHoklch(80.45% 0.142 94.2)
XYZxyz(49.0023, 52.1634, 12.6407)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBD42 #4262DD
analogous
#DD7042 #DDBD42 #B0DD42
triadic
#DDBD42 #42DDBD #BD42DD
tetradic
#DDBD42 #42DD70 #4262DD #DD42B0
square
#DDBD42 #42DD70 #4262DD #DD42B0
split-complementary
#DDBD42 #42B0DD #7042DD
monochromatic
#8C7419 #BF9F22 #DDBD42 #E6CF76 #F0E1AA

Accessibility & contrast

On white

1.84
#DDBD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#DDBD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBD42
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBD42#FFFFFF#000000##000000
##DDBD421.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA30
Deuteranopia (green-blind)
#D9C349
Tritanopia (blue-blind)
#EEAEA4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ddbd42;
/* rgb */ color: rgb(221, 189, 66);
/* oklch */ color: oklch(80.5% 0.142 94.2);
Tailwind
colors: {
  custom: {
    50: '#ecd07d',
    500: '#ddbd42',
    950: '#000000',
  },
}
SCSS
$custom: #ddbd42;
$custom-light: #ecd07d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddbd42",
  "rgb": {
    "r": 221,
    "g": 189,
    "b": 66
  },
  "hsl": {
    "h": 47.613,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80453,
    "c": 0.14182,
    "h": 94.2
  },
  "luminance": 0.52161
}

Semantic roles & 50–950 ramp

primary
#DDBD42
secondary
#324691
accent
#60EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DDBD42

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

Preview Lab → · Contrast checker → · Palette generator →

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