#DABF52#DABF52

#DABF52 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.131 H 95.4°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#DABF52
RGBrgb(218, 191, 82)
HSLhsl(48, 65%, 59%)
HSVhsv(48, 62%, 85%)
CMYKcmyk(0%, 12.4%, 62.4%, 14.5%)
CIE-LABlab(77.74, -2.96, 57.01)
CIE-LCHlch(77.74, 57.09, 92.97°)
OKLaboklab(80.72% -0.0123 0.1305)
OKLCHoklch(80.72% 0.131 95.4)
XYZxyz(49.0694, 52.7786, 15.5837)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF52 #526DDA
analogous
#DA7B52 #DABF52 #B1DA52
triadic
#DABF52 #52DABF #BF52DA
tetradic
#DABF52 #52DA7B #526DDA #DA52B1
square
#DABF52 #52DA7B #526DDA #DA52B1
split-complementary
#DABF52 #52B1DA #7B52DA
monochromatic
#927B1F #C5A62A #DABF52 #E5D284 #F0E4B7

Accessibility & contrast

On white

1.82
#DABF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#DABF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF52
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF52#FFFFFF#000000##000000
##DABF521.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB46
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#EAB2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf52;
/* rgb */ color: rgb(218, 191, 82);
/* oklch */ color: oklch(80.7% 0.131 95.4);
Tailwind
colors: {
  custom: {
    50: '#e9d287',
    500: '#dabf52',
    950: '#000000',
  },
}
SCSS
$custom: #dabf52;
$custom-light: #e9d287;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf52",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 48.088,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80718,
    "c": 0.13106,
    "h": 95.4
  },
  "luminance": 0.52776
}

Semantic roles & 50–950 ramp

primary
#DABF52
secondary
#394C97
accent
#61E840
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #DABF52

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

Preview Lab → · Contrast checker → · Palette generator →

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