#DAB339#DAB339

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

Color values

HEX#DAB339
RGBrgb(218, 179, 57)
HSLhsl(45, 69%, 54%)
HSVhsv(45, 74%, 85%)
CMYKcmyk(0%, 17.9%, 73.9%, 14.5%)
CIE-LABlab(74.47, 1.95, 63.93)
CIE-LCHlch(74.47, 63.96, 88.25°)
OKLaboklab(78.07% -0.001 0.141)
OKLCHoklch(78.07% 0.141 90.4)
XYZxyz(45.7747, 47.4439, 10.6167)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB339 #3960DA
analogous
#DA6339 #DAB339 #B1DA39
triadic
#DAB339 #39DAB3 #B339DA
tetradic
#DAB339 #39DA63 #3960DA #DA39B1
square
#DAB339 #39DA63 #3960DA #DA39B1
split-complementary
#DAB339 #39B1DA #6339DA
monochromatic
#816718 #B49122 #DAB339 #E4C76D #EDDBA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAB339#FFFFFF#000000##000000
##DAB3391.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)
#C7B125
Deuteranopia (green-blind)
#D1BC40
Tritanopia (blue-blind)
#ECA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dab339;
/* rgb */ color: rgb(218, 179, 57);
/* oklch */ color: oklch(78.1% 0.141 90.4);
Tailwind
colors: {
  custom: {
    50: '#eac977',
    500: '#dab339',
    950: '#000000',
  },
}
SCSS
$custom: #dab339;
$custom-light: #eac977;
$custom-dark: #000000;
JSON
{
  "hex": "#dab339",
  "rgb": {
    "r": 218,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 45.466,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78073,
    "c": 0.14096,
    "h": 90.4
  },
  "luminance": 0.47441
}

Semantic roles & 50–950 ramp

primary
#DAB339
secondary
#95A6DA
accent
#67EB3C
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB339

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

Preview Lab → · Contrast checker → · Palette generator →

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