#DAB947#DAB947

#DAB947 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.135 H 92.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#DAB947
RGBrgb(218, 185, 71)
HSLhsl(47, 67%, 57%)
HSVhsv(47, 67%, 85%)
CMYKcmyk(0%, 15.1%, 67.4%, 14.5%)
CIE-LABlab(76.11, -0.50, 60.01)
CIE-LCHlch(76.11, 60.01, 90.48°)
OKLaboklab(79.39% -0.0065 0.1352)
OKLCHoklch(79.39% 0.135 92.7)
XYZxyz(47.4021, 50.0609, 13.1260)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB947 #4768DA
analogous
#DA7047 #DAB947 #B1DA47
triadic
#DAB947 #47DAB9 #B947DA
tetradic
#DAB947 #47DA70 #4768DA #DA47B1
square
#DAB947 #47DA70 #4768DA #DA47B1
split-complementary
#DAB947 #47B1DA #7047DA
monochromatic
#8B721C #BE9C26 #DAB947 #E4CC7A #EEE0AD

Accessibility & contrast

On white

1.91
#DAB947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#DAB947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB947
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB947#FFFFFF#000000##000000
##DAB9471.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB638
Deuteranopia (green-blind)
#D4C04D
Tritanopia (blue-blind)
#EBABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dab947;
/* rgb */ color: rgb(218, 185, 71);
/* oklch */ color: oklch(79.4% 0.135 92.7);
Tailwind
colors: {
  custom: {
    50: '#e9cd80',
    500: '#dab947',
    950: '#000000',
  },
}
SCSS
$custom: #dab947;
$custom-light: #e9cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#dab947",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 46.531,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79394,
    "c": 0.13532,
    "h": 92.7
  },
  "luminance": 0.50058
}

Semantic roles & 50–950 ramp

primary
#DAB947
secondary
#354991
accent
#65E93E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DAB947

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

Preview Lab → · Contrast checker → · Palette generator →

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