#DDB948#DDB948

#DDB948 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.7% C 0.135 H 91.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#DDB948
RGBrgb(221, 185, 72)
HSLhsl(46, 69%, 57%)
HSVhsv(46, 67%, 87%)
CMYKcmyk(0%, 16.3%, 67.4%, 13.3%)
CIE-LABlab(76.40, 0.83, 59.98)
CIE-LCHlch(76.40, 59.99, 89.20°)
OKLaboklab(79.69% -0.0027 0.1352)
OKLCHoklch(79.69% 0.135 91.1)
XYZxyz(48.3400, 50.5407, 13.3388)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDB948 #486CDD
analogous
#DD6E48 #DDB948 #B7DD48
triadic
#DDB948 #48DDB9 #B948DD
tetradic
#DDB948 #48DD6E #486CDD #DD48B7
square
#DDB948 #48DD6E #486CDD #DD48B7
split-complementary
#DDB948 #48B7DD #6E48DD
monochromatic
#90741B #C39D24 #DDB948 #E7CD7C #F0E0AF

Accessibility & contrast

On white

1.89
#DDB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#DDB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDB948
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDB948#FFFFFF#000000##000000
##DDB9481.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73A
Deuteranopia (green-blind)
#D5C14D
Tritanopia (blue-blind)
#EEAAA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ddb948;
/* rgb */ color: rgb(221, 185, 72);
/* oklch */ color: oklch(79.7% 0.135 91.1);
Tailwind
colors: {
  custom: {
    50: '#ebcd80',
    500: '#ddb948',
    950: '#000000',
  },
}
SCSS
$custom: #ddb948;
$custom-light: #ebcd80;
$custom-dark: #000000;
JSON
{
  "hex": "#ddb948",
  "rgb": {
    "r": 221,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 45.503,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.79694,
    "c": 0.13521,
    "h": 91.1
  },
  "luminance": 0.50538
}

Semantic roles & 50–950 ramp

primary
#DDB948
secondary
#344C95
accent
#67EC3C
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DDB948

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

Preview Lab → · Contrast checker → · Palette generator →

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