#DAB43B#DAB43B

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

Color values

HEX#DAB43B
RGBrgb(218, 180, 59)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 73%, 85%)
CMYKcmyk(0%, 17.4%, 72.9%, 14.5%)
CIE-LABlab(74.74, 1.52, 63.44)
CIE-LCHlch(74.74, 63.46, 88.63°)
OKLaboklab(78.29% -0.0021 0.1403)
OKLCHoklch(78.29% 0.14 90.8)
XYZxyz(46.0267, 47.8665, 10.9517)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB43B #3B61DA
analogous
#DA653B #DAB43B #B1DA3B
triadic
#DAB43B #3BDAB4 #B43BDA
tetradic
#DAB43B #3BDA65 #3B61DA #DA3BB1
square
#DAB43B #3BDA65 #3B61DA #DA3BB1
split-complementary
#DAB43B #3BB1DA #653BDA
monochromatic
#826919 #B69222 #DAB43B #E4C86E #EDDBA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAB43B#FFFFFF#000000##000000
##DAB43B1.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)
#C8B228
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#ECA59C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dab43b;
/* rgb */ color: rgb(218, 180, 59);
/* oklch */ color: oklch(78.3% 0.140 90.8);
Tailwind
colors: {
  custom: {
    50: '#eaca79',
    500: '#dab43b',
    950: '#000000',
  },
}
SCSS
$custom: #dab43b;
$custom-light: #eaca79;
$custom-dark: #000000;
JSON
{
  "hex": "#dab43b",
  "rgb": {
    "r": 218,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 45.66,
    "s": 68.24,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78288,
    "c": 0.14031,
    "h": 90.8
  },
  "luminance": 0.47864
}

Semantic roles & 50–950 ramp

primary
#DAB43B
secondary
#97A7DA
accent
#66EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #DAB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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