#DABA52#DABA52

#DABA52 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.7% C 0.128 H 92.1°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#DABA52
RGBrgb(218, 186, 82)
HSLhsl(46, 65%, 59%)
HSVhsv(46, 62%, 85%)
CMYKcmyk(0%, 14.7%, 62.4%, 14.5%)
CIE-LABlab(76.46, -0.36, 55.60)
CIE-LCHlch(76.46, 55.60, 90.37°)
OKLaboklab(79.7% -0.0048 0.1275)
OKLCHoklch(79.7% 0.128 92.1)
XYZxyz(47.9976, 50.6350, 15.2264)
Luminance0.5063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABA52 #5272DA
analogous
#DA7652 #DABA52 #B6DA52
triadic
#DABA52 #52DABA #BA52DA
tetradic
#DABA52 #52DA76 #5272DA #DA52B6
square
#DABA52 #52DA76 #5272DA #DA52B6
split-complementary
#DABA52 #52B6DA #7652DA
monochromatic
#92771F #C5A02A #DABA52 #E5CE84 #F0E2B7

Accessibility & contrast

On white

1.89
#DABA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#DABA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABA52
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABA52#FFFFFF#000000##000000
##DABA521.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB747
Deuteranopia (green-blind)
#D4C157
Tritanopia (blue-blind)
#EBACA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #daba52;
/* rgb */ color: rgb(218, 186, 82);
/* oklch */ color: oklch(79.7% 0.128 92.1);
Tailwind
colors: {
  custom: {
    50: '#e9ce87',
    500: '#daba52',
    950: '#000000',
  },
}
SCSS
$custom: #daba52;
$custom-light: #e9ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#daba52",
  "rgb": {
    "r": 218,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 45.882,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79701,
    "c": 0.12757,
    "h": 92.1
  },
  "luminance": 0.50632
}

Semantic roles & 50–950 ramp

primary
#DABA52
secondary
#394F97
accent
#68E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DABA52

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

Preview Lab → · Contrast checker → · Palette generator →

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