#DAB738#DAB738

#DAB738 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.9% C 0.144 H 92.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#DAB738
RGBrgb(218, 183, 56)
HSLhsl(47, 69%, 54%)
HSVhsv(47, 74%, 85%)
CMYKcmyk(0%, 16.1%, 74.3%, 14.5%)
CIE-LABlab(75.49, -0.19, 65.28)
CIE-LCHlch(75.49, 65.28, 90.17°)
OKLaboklab(78.87% -0.0073 0.1436)
OKLCHoklch(78.87% 0.144 92.9)
XYZxyz(46.5633, 49.0607, 10.7577)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB738 #385BDA
analogous
#DA6638 #DAB738 #ACDA38
triadic
#DAB738 #38DAB7 #B738DA
tetradic
#DAB738 #38DA66 #385BDA #DA38AC
square
#DAB738 #38DA66 #385BDA #DA38AC
split-complementary
#DAB738 #38ACDA #6638DA
monochromatic
#806918 #B39421 #DAB738 #E4CA6C #EDDC9F

Accessibility & contrast

On white

1.94
#DAB738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#DAB738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB738
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB738#FFFFFF#000000##000000
##DAB7381.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB422
Deuteranopia (green-blind)
#D4BE3F
Tritanopia (blue-blind)
#ECA89E
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dab738;
/* rgb */ color: rgb(218, 183, 56);
/* oklch */ color: oklch(78.9% 0.144 92.9);
Tailwind
colors: {
  custom: {
    50: '#eacc77',
    500: '#dab738',
    950: '#000000',
  },
}
SCSS
$custom: #dab738;
$custom-light: #eacc77;
$custom-dark: #000000;
JSON
{
  "hex": "#dab738",
  "rgb": {
    "r": 218,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 47.037,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78873,
    "c": 0.14381,
    "h": 92.9
  },
  "luminance": 0.49058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAB738

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

Preview Lab → · Contrast checker → · Palette generator →

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