#DDBB42#DDBB42

#DDBB42 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 80.0% C 0.141 H 93.0°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#DDBB42
RGBrgb(221, 187, 66)
HSLhsl(47, 70%, 56%)
HSVhsv(47, 70%, 87%)
CMYKcmyk(0%, 15.4%, 70.1%, 13.3%)
CIE-LABlab(76.87, -0.53, 62.91)
CIE-LCHlch(76.87, 62.92, 90.48°)
OKLaboklab(80.05% -0.0073 0.1404)
OKLCHoklch(80.05% 0.141 93)
XYZxyz(48.5750, 51.3089, 12.4983)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBB42 #4264DD
analogous
#DD6E42 #DDBB42 #B2DD42
triadic
#DDBB42 #42DDBB #BB42DD
tetradic
#DDBB42 #42DD6E #4264DD #DD42B2
square
#DDBB42 #42DD6E #4264DD #DD42B2
split-complementary
#DDBB42 #42B2DD #6E42DD
monochromatic
#8C7219 #BF9D22 #DDBB42 #E6CE76 #F0E0AA

Accessibility & contrast

On white

1.86
#DDBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#DDBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBB42
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBB42#FFFFFF#000000##000000
##DDBB421.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB831
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#EFACA2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ddbb42;
/* rgb */ color: rgb(221, 187, 66);
/* oklch */ color: oklch(80.0% 0.141 93.0);
Tailwind
colors: {
  custom: {
    50: '#eccf7d',
    500: '#ddbb42',
    950: '#000000',
  },
}
SCSS
$custom: #ddbb42;
$custom-light: #eccf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddbb42",
  "rgb": {
    "r": 221,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 46.839,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80048,
    "c": 0.14055,
    "h": 93
  },
  "luminance": 0.51306
}

Semantic roles & 50–950 ramp

primary
#DDBB42
secondary
#324791
accent
#62EC3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DDBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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