#DABA51#DABA51

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

Color values

HEX#DABA51
RGBrgb(218, 186, 81)
HSLhsl(46, 65%, 59%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 14.7%, 62.8%, 14.5%)
CIE-LABlab(76.45, -0.42, 56.04)
CIE-LCHlch(76.45, 56.04, 90.43°)
OKLaboklab(79.69% -0.0051 0.1283)
OKLCHoklch(79.69% 0.128 92.3)
XYZxyz(47.9598, 50.6199, 15.0274)
Luminance0.5062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABA51 #5171DA
analogous
#DA7551 #DABA51 #B6DA51
triadic
#DABA51 #51DABA #BA51DA
tetradic
#DABA51 #51DA75 #5171DA #DA51B6
square
#DABA51 #51DA75 #5171DA #DA51B6
split-complementary
#DABA51 #51B6DA #7551DA
monochromatic
#92771F #C4A02A #DABA51 #E5CE83 #EFE2B6

Accessibility & contrast

On white

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

On black

11.12
#DABA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABA51
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABA51#FFFFFF#000000##000000
##DABA511.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #daba51;
/* rgb */ color: rgb(218, 186, 81);
/* oklch */ color: oklch(79.7% 0.128 92.3);
Tailwind
colors: {
  custom: {
    50: '#e9ce86',
    500: '#daba51',
    950: '#000000',
  },
}
SCSS
$custom: #daba51;
$custom-light: #e9ce86;
$custom-dark: #000000;
JSON
{
  "hex": "#daba51",
  "rgb": {
    "r": 218,
    "g": 186,
    "b": 81
  },
  "hsl": {
    "h": 45.985,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79691,
    "c": 0.12837,
    "h": 92.3
  },
  "luminance": 0.50617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DABA51

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

Preview Lab → · Contrast checker → · Palette generator →

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