#DAB951#DAB951

#DAB951 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.5% C 0.128 H 91.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#DAB951
RGBrgb(218, 185, 81)
HSLhsl(46, 65%, 59%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 15.1%, 62.8%, 14.5%)
CIE-LABlab(76.19, 0.10, 55.76)
CIE-LCHlch(76.19, 55.76, 89.90°)
OKLaboklab(79.49% -0.0036 0.1277)
OKLCHoklch(79.49% 0.128 91.6)
XYZxyz(47.7499, 50.2000, 14.9575)
Luminance0.5020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB951 #5172DA
analogous
#DA7451 #DAB951 #B7DA51
triadic
#DAB951 #51DAB9 #B951DA
tetradic
#DAB951 #51DA74 #5172DA #DA51B7
square
#DAB951 #51DA74 #5172DA #DA51B7
split-complementary
#DAB951 #51B7DA #7451DA
monochromatic
#92761F #C49F2A #DAB951 #E5CD83 #EFE2B6

Accessibility & contrast

On white

1.90
#DAB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#DAB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB951
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB951#FFFFFF#000000##000000
##DAB9511.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB646
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#EBABA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dab951;
/* rgb */ color: rgb(218, 185, 81);
/* oklch */ color: oklch(79.5% 0.128 91.6);
Tailwind
colors: {
  custom: {
    50: '#e9cd86',
    500: '#dab951',
    950: '#000000',
  },
}
SCSS
$custom: #dab951;
$custom-light: #e9cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#dab951",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 45.547,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.79489,
    "c": 0.12772,
    "h": 91.6
  },
  "luminance": 0.50197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAB951

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

Preview Lab → · Contrast checker → · Palette generator →

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