#DDBA51#DDBA51

#DDBA51 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 80.0% C 0.129 H 90.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#DDBA51
RGBrgb(221, 186, 81)
HSLhsl(45, 67%, 59%)
HSVhsv(45, 63%, 87%)
CMYKcmyk(0%, 15.8%, 63.3%, 13.3%)
CIE-LABlab(76.73, 0.85, 56.43)
CIE-LCHlch(76.73, 56.43, 89.14°)
OKLaboklab(79.98% -0.0016 0.129)
OKLCHoklch(79.98% 0.129 90.7)
XYZxyz(48.8653, 51.0868, 15.0699)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBA51 #5174DD
analogous
#DD7451 #DDBA51 #BADD51
triadic
#DDBA51 #51DDBA #BA51DD
tetradic
#DDBA51 #51DD74 #5174DD #DD51BA
square
#DDBA51 #51DD74 #5174DD #DD51BA
split-complementary
#DDBA51 #51BADD #7451DD
monochromatic
#96781D #C9A127 #DDBA51 #E7CE84 #F1E3B7

Accessibility & contrast

On white

1.87
#DDBA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#DDBA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBA51
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBA51#FFFFFF#000000##000000
##DDBA511.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#D6C256
Tritanopia (blue-blind)
#EEACA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ddba51;
/* rgb */ color: rgb(221, 186, 81);
/* oklch */ color: oklch(80.0% 0.129 90.7);
Tailwind
colors: {
  custom: {
    50: '#ebce86',
    500: '#ddba51',
    950: '#000000',
  },
}
SCSS
$custom: #ddba51;
$custom-light: #ebce86;
$custom-dark: #000000;
JSON
{
  "hex": "#ddba51",
  "rgb": {
    "r": 221,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 45,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.7998,
    "c": 0.12903,
    "h": 90.7
  },
  "luminance": 0.51084
}

Semantic roles & 50–950 ramp

primary
#DDBA51
secondary
#38509B
accent
#69EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DDBA51

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

Preview Lab → · Contrast checker → · Palette generator →

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