#DAB541#DAB541

#DAB541 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.5% C 0.137 H 90.9°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#DAB541
RGBrgb(218, 181, 65)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 70%, 85%)
CMYKcmyk(0%, 17%, 70.2%, 14.5%)
CIE-LABlab(75.04, 1.28, 61.37)
CIE-LCHlch(75.04, 61.39, 88.81°)
OKLaboklab(78.54% -0.0021 0.137)
OKLCHoklch(78.54% 0.137 90.9)
XYZxyz(46.3940, 48.3376, 11.8865)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB541 #4166DA
analogous
#DA6841 #DAB541 #B3DA41
triadic
#DAB541 #41DAB5 #B541DA
tetradic
#DAB541 #41DA68 #4166DA #DA41B3
square
#DAB541 #41DA68 #4166DA #DA41B3
split-complementary
#DAB541 #41B3DA #6841DA
monochromatic
#866C1A #BA9524 #DAB541 #E4C974 #EEDDA7

Accessibility & contrast

On white

1.97
#DAB541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#DAB541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB541
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB541#FFFFFF#000000##000000
##DAB5411.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B331
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#ECA69D
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dab541;
/* rgb */ color: rgb(218, 181, 65);
/* oklch */ color: oklch(78.5% 0.137 90.9);
Tailwind
colors: {
  custom: {
    50: '#e9ca7c',
    500: '#dab541',
    950: '#000000',
  },
}
SCSS
$custom: #dab541;
$custom-light: #e9ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dab541",
  "rgb": {
    "r": 218,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 45.49,
    "s": 67.401,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78535,
    "c": 0.13705,
    "h": 90.9
  },
  "luminance": 0.48335
}

Semantic roles & 50–950 ramp

primary
#DAB541
secondary
#9CABDB
accent
#67EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DAB541

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

Preview Lab → · Contrast checker → · Palette generator →

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