#DABC52#DABC52

#DABC52 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.1% C 0.129 H 93.5°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#DABC52
RGBrgb(218, 188, 82)
HSLhsl(47, 65%, 59%)
HSVhsv(47, 62%, 85%)
CMYKcmyk(0%, 13.8%, 62.4%, 14.5%)
CIE-LABlab(76.97, -1.40, 56.16)
CIE-LCHlch(76.97, 56.18, 91.43°)
OKLaboklab(80.11% -0.0078 0.1287)
OKLCHoklch(80.11% 0.129 93.5)
XYZxyz(48.4219, 51.4836, 15.3678)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABC52 #5270DA
analogous
#DA7852 #DABC52 #B4DA52
triadic
#DABC52 #52DABC #BC52DA
tetradic
#DABC52 #52DA78 #5270DA #DA52B4
square
#DABC52 #52DA78 #5270DA #DA52B4
split-complementary
#DABC52 #52B4DA #7852DA
monochromatic
#92791F #C5A32A #DABC52 #E5D084 #F0E3B7

Accessibility & contrast

On white

1.86
#DABC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#DABC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABC52
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABC52#FFFFFF#000000##000000
##DABC521.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D6C257
Tritanopia (blue-blind)
#EAAEA5
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dabc52;
/* rgb */ color: rgb(218, 188, 82);
/* oklch */ color: oklch(80.1% 0.129 93.5);
Tailwind
colors: {
  custom: {
    50: '#e9cf87',
    500: '#dabc52',
    950: '#000000',
  },
}
SCSS
$custom: #dabc52;
$custom-light: #e9cf87;
$custom-dark: #000000;
JSON
{
  "hex": "#dabc52",
  "rgb": {
    "r": 218,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 46.765,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80107,
    "c": 0.12891,
    "h": 93.5
  },
  "luminance": 0.51481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DABC52

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

Preview Lab → · Contrast checker → · Palette generator →

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