#DAB838#DAB838

#DAB838 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.144 H 93.5°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#DAB838
RGBrgb(218, 184, 56)
HSLhsl(47, 69%, 54%)
HSVhsv(47, 74%, 85%)
CMYKcmyk(0%, 15.6%, 74.3%, 14.5%)
CIE-LABlab(75.75, -0.71, 65.53)
CIE-LCHlch(75.75, 65.53, 90.62°)
OKLaboklab(79.07% -0.0088 0.1442)
OKLCHoklch(79.07% 0.144 93.5)
XYZxyz(46.7703, 49.4747, 10.8267)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB838 #385ADA
analogous
#DA6738 #DAB838 #ABDA38
triadic
#DAB838 #38DAB8 #B838DA
tetradic
#DAB838 #38DA67 #385ADA #DA38AB
square
#DAB838 #38DA67 #385ADA #DA38AB
split-complementary
#DAB838 #38ABDA #6738DA
monochromatic
#806A18 #B39521 #DAB838 #E4CA6C #EDDD9F

Accessibility & contrast

On white

1.93
#DAB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#DAB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB838
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB838#FFFFFF#000000##000000
##DAB8381.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB522
Deuteranopia (green-blind)
#D4BF40
Tritanopia (blue-blind)
#ECA99F
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dab838;
/* rgb */ color: rgb(218, 184, 56);
/* oklch */ color: oklch(79.1% 0.144 93.5);
Tailwind
colors: {
  custom: {
    50: '#eacc77',
    500: '#dab838',
    950: '#000000',
  },
}
SCSS
$custom: #dab838;
$custom-light: #eacc77;
$custom-dark: #000000;
JSON
{
  "hex": "#dab838",
  "rgb": {
    "r": 218,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 47.407,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79075,
    "c": 0.14442,
    "h": 93.5
  },
  "luminance": 0.49472
}

Semantic roles & 50–950 ramp

primary
#DAB838
secondary
#94A3DA
accent
#61EB3C
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB838

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

Preview Lab → · Contrast checker → · Palette generator →

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