#DDBF52#DDBF52

#DDBF52 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 81.0% C 0.132 H 93.8°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#DDBF52
RGBrgb(221, 191, 82)
HSLhsl(47, 67%, 59%)
HSVhsv(47, 63%, 87%)
CMYKcmyk(0%, 13.6%, 62.9%, 13.3%)
CIE-LABlab(78.02, -1.70, 57.39)
CIE-LCHlch(78.02, 57.42, 91.69°)
OKLaboklab(81% -0.0088 0.1312)
OKLCHoklch(81% 0.132 93.8)
XYZxyz(49.9749, 53.2455, 15.6261)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDBF52 #5270DD
analogous
#DD7952 #DDBF52 #B6DD52
triadic
#DDBF52 #52DDBF #BF52DD
tetradic
#DDBF52 #52DD79 #5270DD #DD52B6
square
#DDBF52 #52DD79 #5270DD #DD52B6
split-complementary
#DDBF52 #52B6DD #7952DD
monochromatic
#977D1E #CAA728 #DDBF52 #E7D285 #F1E5B8

Accessibility & contrast

On white

1.80
#DDBF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#DDBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDBF52
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDBF52#FFFFFF#000000##000000
##DDBF521.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#D9C557
Tritanopia (blue-blind)
#EEB1A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ddbf52;
/* rgb */ color: rgb(221, 191, 82);
/* oklch */ color: oklch(81.0% 0.132 93.8);
Tailwind
colors: {
  custom: {
    50: '#ebd287',
    500: '#ddbf52',
    950: '#000000',
  },
}
SCSS
$custom: #ddbf52;
$custom-light: #ebd287;
$custom-dark: #000000;
JSON
{
  "hex": "#ddbf52",
  "rgb": {
    "r": 221,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 47.05,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81,
    "c": 0.13152,
    "h": 93.8
  },
  "luminance": 0.53243
}

Semantic roles & 50–950 ramp

primary
#DDBF52
secondary
#384D9B
accent
#63EA3E
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DDBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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