#DAB538#DAB538

#DAB538 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.5% C 0.143 H 91.7°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#DAB538
RGBrgb(218, 181, 56)
HSLhsl(46, 69%, 54%)
HSVhsv(46, 74%, 85%)
CMYKcmyk(0%, 17%, 74.3%, 14.5%)
CIE-LABlab(74.98, 0.86, 64.79)
CIE-LCHlch(74.98, 64.80, 89.24°)
OKLaboklab(78.47% -0.0043 0.1426)
OKLCHoklch(78.47% 0.143 91.7)
XYZxyz(46.1537, 48.2415, 10.6212)
Luminance0.4824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB538 #385DDA
analogous
#DA6438 #DAB538 #AEDA38
triadic
#DAB538 #38DAB5 #B538DA
tetradic
#DAB538 #38DA64 #385DDA #DA38AE
square
#DAB538 #38DA64 #385DDA #DA38AE
split-complementary
#DAB538 #38AEDA #6438DA
monochromatic
#806818 #B39221 #DAB538 #E4C86C #EDDB9F

Accessibility & contrast

On white

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

On black

10.65
#DAB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB538
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB538#FFFFFF#000000##000000
##DAB5381.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B223
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#ECA69C
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dab538;
/* rgb */ color: rgb(218, 181, 56);
/* oklch */ color: oklch(78.5% 0.143 91.7);
Tailwind
colors: {
  custom: {
    50: '#eaca77',
    500: '#dab538',
    950: '#000000',
  },
}
SCSS
$custom: #dab538;
$custom-light: #eaca77;
$custom-dark: #000000;
JSON
{
  "hex": "#dab538",
  "rgb": {
    "r": 218,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 46.296,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78469,
    "c": 0.14264,
    "h": 91.7
  },
  "luminance": 0.48239
}

Semantic roles & 50–950 ramp

primary
#DAB538
secondary
#94A4DA
accent
#64EB3C
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB538

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

Preview Lab → · Contrast checker → · Palette generator →

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