#DAB438#DAB438

#DAB438 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.3% C 0.142 H 91.1°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#DAB438
RGBrgb(218, 180, 56)
HSLhsl(46, 69%, 54%)
HSVhsv(46, 74%, 85%)
CMYKcmyk(0%, 17.4%, 74.3%, 14.5%)
CIE-LABlab(74.72, 1.38, 64.55)
CIE-LCHlch(74.72, 64.56, 88.77°)
OKLaboklab(78.27% -0.0028 0.1421)
OKLCHoklch(78.27% 0.142 91.1)
XYZxyz(45.9511, 47.8363, 10.5537)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB438 #385EDA
analogous
#DA6338 #DAB438 #AFDA38
triadic
#DAB438 #38DAB4 #B438DA
tetradic
#DAB438 #38DA63 #385EDA #DA38AF
square
#DAB438 #38DA63 #385EDA #DA38AF
split-complementary
#DAB438 #38AFDA #6338DA
monochromatic
#806718 #B39121 #DAB438 #E4C76C #EDDB9F

Accessibility & contrast

On white

1.99
#DAB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#DAB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB438
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB438#FFFFFF#000000##000000
##DAB4381.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B223
Deuteranopia (green-blind)
#D2BC3F
Tritanopia (blue-blind)
#ECA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dab438;
/* rgb */ color: rgb(218, 180, 56);
/* oklch */ color: oklch(78.3% 0.142 91.1);
Tailwind
colors: {
  custom: {
    50: '#eaca77',
    500: '#dab438',
    950: '#000000',
  },
}
SCSS
$custom: #dab438;
$custom-light: #eaca77;
$custom-dark: #000000;
JSON
{
  "hex": "#dab438",
  "rgb": {
    "r": 218,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 45.926,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78267,
    "c": 0.14209,
    "h": 91.1
  },
  "luminance": 0.47833
}

Semantic roles & 50–950 ramp

primary
#DAB438
secondary
#94A5DA
accent
#65EB3C
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB438

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

Preview Lab → · Contrast checker → · Palette generator →

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