#DAB952#DAB952

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

Color values

HEX#DAB952
RGBrgb(218, 185, 82)
HSLhsl(45, 65%, 59%)
HSVhsv(45, 62%, 85%)
CMYKcmyk(0%, 15.1%, 62.4%, 14.5%)
CIE-LABlab(76.20, 0.17, 55.32)
CIE-LCHlch(76.20, 55.32, 89.83°)
OKLaboklab(79.5% -0.0032 0.1269)
OKLCHoklch(79.5% 0.127 91.5)
XYZxyz(47.7877, 50.2151, 15.1564)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB952 #5273DA
analogous
#DA7552 #DAB952 #B7DA52
triadic
#DAB952 #52DAB9 #B952DA
tetradic
#DAB952 #52DA75 #5273DA #DA52B7
square
#DAB952 #52DA75 #5273DA #DA52B7
split-complementary
#DAB952 #52B7DA #7552DA
monochromatic
#92761F #C59F2A #DAB952 #E5CD84 #F0E2B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAB952#FFFFFF#000000##000000
##DAB9521.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)
#CBB647
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#EBABA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dab952;
/* rgb */ color: rgb(218, 185, 82);
/* oklch */ color: oklch(79.5% 0.127 91.5);
Tailwind
colors: {
  custom: {
    50: '#e9cd86',
    500: '#dab952',
    950: '#000000',
  },
}
SCSS
$custom: #dab952;
$custom-light: #e9cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#dab952",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 45.441,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79499,
    "c": 0.12692,
    "h": 91.5
  },
  "luminance": 0.50213
}

Semantic roles & 50–950 ramp

primary
#DAB952
secondary
#395097
accent
#69E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DAB952

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

Preview Lab → · Contrast checker → · Palette generator →

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