#DDBC42#DDBC42

#DDBC42 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.3% C 0.141 H 93.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#DDBC42
RGBrgb(221, 188, 66)
HSLhsl(47, 70%, 56%)
HSVhsv(47, 70%, 87%)
CMYKcmyk(0%, 14.9%, 70.1%, 13.3%)
CIE-LABlab(77.12, -1.05, 63.17)
CIE-LCHlch(77.12, 63.18, 90.95°)
OKLaboklab(80.25% -0.0088 0.1409)
OKLCHoklch(80.25% 0.141 93.6)
XYZxyz(48.7879, 51.7347, 12.5692)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBC42 #4263DD
analogous
#DD6F42 #DDBC42 #B1DD42
triadic
#DDBC42 #42DDBC #BC42DD
tetradic
#DDBC42 #42DD6F #4263DD #DD42B1
square
#DDBC42 #42DD6F #4263DD #DD42B1
split-complementary
#DDBC42 #42B1DD #6F42DD
monochromatic
#8C7319 #BF9E22 #DDBC42 #E6CE76 #F0E1AA

Accessibility & contrast

On white

1.85
#DDBC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#DDBC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBC42
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBC42#FFFFFF#000000##000000
##DDBC421.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B931
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#EFADA3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ddbc42;
/* rgb */ color: rgb(221, 188, 66);
/* oklch */ color: oklch(80.3% 0.141 93.6);
Tailwind
colors: {
  custom: {
    50: '#eccf7d',
    500: '#ddbc42',
    950: '#000000',
  },
}
SCSS
$custom: #ddbc42;
$custom-light: #eccf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddbc42",
  "rgb": {
    "r": 221,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 47.226,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8025,
    "c": 0.14119,
    "h": 93.6
  },
  "luminance": 0.51732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DDBC42

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

Preview Lab → · Contrast checker → · Palette generator →

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