#DABB51#DABB51

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

Color values

HEX#DABB51
RGBrgb(218, 187, 81)
HSLhsl(46, 65%, 59%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 14.2%, 62.8%, 14.5%)
CIE-LABlab(76.70, -0.94, 56.32)
CIE-LCHlch(76.70, 56.33, 90.96°)
OKLaboklab(79.89% -0.0066 0.1289)
OKLCHoklch(79.89% 0.129 92.9)
XYZxyz(48.1712, 51.0427, 15.0979)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABB51 #5170DA
analogous
#DA7651 #DABB51 #B5DA51
triadic
#DABB51 #51DABB #BB51DA
tetradic
#DABB51 #51DA76 #5170DA #DA51B5
square
#DABB51 #51DA76 #5170DA #DA51B5
split-complementary
#DABB51 #51B5DA #7651DA
monochromatic
#92781F #C4A12A #DABB51 #E5CF83 #EFE2B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DABB51#FFFFFF#000000##000000
##DABB511.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)
#CDB845
Deuteranopia (green-blind)
#D5C156
Tritanopia (blue-blind)
#EBADA4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dabb51;
/* rgb */ color: rgb(218, 187, 81);
/* oklch */ color: oklch(79.9% 0.129 92.9);
Tailwind
colors: {
  custom: {
    50: '#e9cf86',
    500: '#dabb51',
    950: '#000000',
  },
}
SCSS
$custom: #dabb51;
$custom-light: #e9cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#dabb51",
  "rgb": {
    "r": 218,
    "g": 187,
    "b": 81
  },
  "hsl": {
    "h": 46.423,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79894,
    "c": 0.12904,
    "h": 92.9
  },
  "luminance": 0.5104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DABB51

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

Preview Lab → · Contrast checker → · Palette generator →

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