#DAB338#DAB338

#DAB338 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 78.1% C 0.142 H 90.5°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#DAB338
RGBrgb(218, 179, 56)
HSLhsl(46, 69%, 54%)
HSVhsv(46, 74%, 85%)
CMYKcmyk(0%, 17.9%, 74.3%, 14.5%)
CIE-LABlab(74.47, 1.91, 64.30)
CIE-LCHlch(74.47, 64.33, 88.30°)
OKLaboklab(78.07% -0.0013 0.1415)
OKLCHoklch(78.07% 0.142 90.5)
XYZxyz(45.7500, 47.4340, 10.4866)
Luminance0.4743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB338 #385FDA
analogous
#DA6238 #DAB338 #B0DA38
triadic
#DAB338 #38DAB3 #B338DA
tetradic
#DAB338 #38DA62 #385FDA #DA38B0
square
#DAB338 #38DA62 #385FDA #DA38B0
split-complementary
#DAB338 #38B0DA #6238DA
monochromatic
#806718 #B39021 #DAB338 #E4C76C #EDDA9F

Accessibility & contrast

On white

2.00
#DAB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#DAB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB338
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB338#FFFFFF#000000##000000
##DAB3381.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B123
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#ECA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dab338;
/* rgb */ color: rgb(218, 179, 56);
/* oklch */ color: oklch(78.1% 0.142 90.5);
Tailwind
colors: {
  custom: {
    50: '#eac977',
    500: '#dab338',
    950: '#000000',
  },
}
SCSS
$custom: #dab338;
$custom-light: #eac977;
$custom-dark: #000000;
JSON
{
  "hex": "#dab338",
  "rgb": {
    "r": 218,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 45.556,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78066,
    "c": 0.14155,
    "h": 90.5
  },
  "luminance": 0.47431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAB338

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

Preview Lab → · Contrast checker → · Palette generator →

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