#DABB52#DABB52

#DABB52 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.9% C 0.128 H 92.8°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#DABB52
RGBrgb(218, 187, 82)
HSLhsl(46, 65%, 59%)
HSVhsv(46, 62%, 85%)
CMYKcmyk(0%, 14.2%, 62.4%, 14.5%)
CIE-LABlab(76.71, -0.88, 55.88)
CIE-LCHlch(76.71, 55.89, 90.90°)
OKLaboklab(79.9% -0.0063 0.1281)
OKLCHoklch(79.9% 0.128 92.8)
XYZxyz(48.2090, 51.0578, 15.2969)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABB52 #5271DA
analogous
#DA7752 #DABB52 #B5DA52
triadic
#DABB52 #52DABB #BB52DA
tetradic
#DABB52 #52DA77 #5271DA #DA52B5
square
#DABB52 #52DA77 #5271DA #DA52B5
split-complementary
#DABB52 #52B5DA #7752DA
monochromatic
#92781F #C5A12A #DABB52 #E5CF84 #F0E3B7

Accessibility & contrast

On white

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

On black

11.21
#DABB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABB52
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABB52#FFFFFF#000000##000000
##DABB521.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB847
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#EBADA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dabb52;
/* rgb */ color: rgb(218, 187, 82);
/* oklch */ color: oklch(79.9% 0.128 92.8);
Tailwind
colors: {
  custom: {
    50: '#e9cf87',
    500: '#dabb52',
    950: '#000000',
  },
}
SCSS
$custom: #dabb52;
$custom-light: #e9cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#dabb52",
  "rgb": {
    "r": 218,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 46.324,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79904,
    "c": 0.12823,
    "h": 92.8
  },
  "luminance": 0.51055
}

Semantic roles & 50–950 ramp

primary
#DABB52
secondary
#394E97
accent
#66E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DABB52

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

Preview Lab → · Contrast checker → · Palette generator →

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