#DAB937#DAB937

#DAB937 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.146 H 94.1°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#DAB937
RGBrgb(218, 185, 55)
HSLhsl(48, 69%, 54%)
HSVhsv(48, 75%, 85%)
CMYKcmyk(0%, 15.1%, 74.8%, 14.5%)
CIE-LABlab(76.00, -1.28, 66.12)
CIE-LCHlch(76.00, 66.14, 91.11°)
OKLaboklab(79.27% -0.0105 0.1452)
OKLCHoklch(79.27% 0.146 94.1)
XYZxyz(46.9545, 49.8819, 10.7687)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB937 #3758DA
analogous
#DA6737 #DAB937 #A9DA37
triadic
#DAB937 #37DAB9 #B937DA
tetradic
#DAB937 #37DA67 #3758DA #DA37A9
square
#DAB937 #37DA67 #3758DA #DA37A9
split-complementary
#DAB937 #37A9DA #6737DA
monochromatic
#7F6A18 #B39521 #DAB937 #E4CB6B #EDDD9E

Accessibility & contrast

On white

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

On black

10.98
#DAB937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB937
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB937#FFFFFF#000000##000000
##DAB9371.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#D5C03F
Tritanopia (blue-blind)
#ECAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dab937;
/* rgb */ color: rgb(218, 185, 55);
/* oklch */ color: oklch(79.3% 0.146 94.1);
Tailwind
colors: {
  custom: {
    50: '#eacd77',
    500: '#dab937',
    950: '#000000',
  },
}
SCSS
$custom: #dab937;
$custom-light: #eacd77;
$custom-dark: #000000;
JSON
{
  "hex": "#dab937",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 47.853,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79272,
    "c": 0.14561,
    "h": 94.1
  },
  "luminance": 0.49879
}

Semantic roles & 50–950 ramp

primary
#DAB937
secondary
#93A2D9
accent
#60EC3C
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB937

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

Preview Lab → · Contrast checker → · Palette generator →

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