#DAB950#DAB950

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

Color values

HEX#DAB950
RGBrgb(218, 185, 80)
HSLhsl(46, 65%, 58%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 15.1%, 63.3%, 14.5%)
CIE-LABlab(76.18, 0.04, 56.19)
CIE-LCHlch(76.18, 56.19, 89.96°)
OKLaboklab(79.48% -0.0039 0.1285)
OKLCHoklch(79.48% 0.129 91.7)
XYZxyz(47.7127, 50.1851, 14.7614)
Luminance0.5018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB950 #5071DA
analogous
#DA7450 #DAB950 #B6DA50
triadic
#DAB950 #50DAB9 #B950DA
tetradic
#DAB950 #50DA74 #5071DA #DA50B6
square
#DAB950 #50DA74 #5071DA #DA50B6
split-complementary
#DAB950 #50B6DA #7450DA
monochromatic
#91761F #C39F29 #DAB950 #E5CD83 #EFE1B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAB950#FFFFFF#000000##000000
##DAB9501.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)
#CCB644
Deuteranopia (green-blind)
#D4C055
Tritanopia (blue-blind)
#EBABA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dab950;
/* rgb */ color: rgb(218, 185, 80);
/* oklch */ color: oklch(79.5% 0.129 91.7);
Tailwind
colors: {
  custom: {
    50: '#e9cd85',
    500: '#dab950',
    950: '#000000',
  },
}
SCSS
$custom: #dab950;
$custom-light: #e9cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#dab950",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 45.652,
    "s": 65.094,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79478,
    "c": 0.12852,
    "h": 91.7
  },
  "luminance": 0.50183
}

Semantic roles & 50–950 ramp

primary
#DAB950
secondary
#384F96
accent
#68E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DAB950

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

Preview Lab → · Contrast checker → · Palette generator →

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