#DDBA42#DDBA42

#DDBA42 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.140 H 92.4°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#DDBA42
RGBrgb(221, 186, 66)
HSLhsl(46, 70%, 56%)
HSVhsv(46, 70%, 87%)
CMYKcmyk(0%, 15.8%, 70.1%, 13.3%)
CIE-LABlab(76.61, -0.01, 62.66)
CIE-LCHlch(76.61, 62.66, 90.01°)
OKLaboklab(79.85% -0.0058 0.1398)
OKLCHoklch(79.85% 0.14 92.4)
XYZxyz(48.3636, 50.8861, 12.4278)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBA42 #4265DD
analogous
#DD6D42 #DDBA42 #B2DD42
triadic
#DDBA42 #42DDBA #BA42DD
tetradic
#DDBA42 #42DD6D #4265DD #DD42B2
square
#DDBA42 #42DD6D #4265DD #DD42B2
split-complementary
#DDBA42 #42B2DD #6D42DD
monochromatic
#8C7219 #BF9C22 #DDBA42 #E6CD76 #F0E0AA

Accessibility & contrast

On white

1.88
#DDBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#DDBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBA42
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBA42#FFFFFF#000000##000000
##DDBA421.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#EFABA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ddba42;
/* rgb */ color: rgb(221, 186, 66);
/* oklch */ color: oklch(79.8% 0.140 92.4);
Tailwind
colors: {
  custom: {
    50: '#ecce7d',
    500: '#ddba42',
    950: '#000000',
  },
}
SCSS
$custom: #ddba42;
$custom-light: #ecce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ddba42",
  "rgb": {
    "r": 221,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 46.452,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79846,
    "c": 0.13993,
    "h": 92.4
  },
  "luminance": 0.50883
}

Semantic roles & 50–950 ramp

primary
#DDBA42
secondary
#324891
accent
#63EC3B
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DDBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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