#DAB442#DAB442

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

Color values

HEX#DAB442
RGBrgb(218, 180, 66)
HSLhsl(45, 67%, 56%)
HSVhsv(45, 70%, 85%)
CMYKcmyk(0%, 17.4%, 69.7%, 14.5%)
CIE-LABlab(74.79, 1.86, 60.72)
CIE-LCHlch(74.79, 60.75, 88.25°)
OKLaboklab(78.34% -0.0003 0.1358)
OKLCHoklch(78.34% 0.136 90.1)
XYZxyz(46.2206, 47.9441, 11.9728)
Luminance0.4794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB442 #4268DA
analogous
#DA6842 #DAB442 #B4DA42
triadic
#DAB442 #42DAB4 #B442DA
tetradic
#DAB442 #42DA68 #4268DA #DA42B4
square
#DAB442 #42DA68 #4268DA #DA42B4
split-complementary
#DAB442 #42B4DA #6842DA
monochromatic
#876C1A #BA9524 #DAB442 #E4C875 #EEDDA8

Accessibility & contrast

On white

1.98
#DAB442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#DAB442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB442
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB442#FFFFFF#000000##000000
##DAB4421.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B233
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#ECA59D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dab442;
/* rgb */ color: rgb(218, 180, 66);
/* oklch */ color: oklch(78.3% 0.136 90.1);
Tailwind
colors: {
  custom: {
    50: '#e9ca7d',
    500: '#dab442',
    950: '#000000',
  },
}
SCSS
$custom: #dab442;
$custom-light: #e9ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#dab442",
  "rgb": {
    "r": 218,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 45,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78342,
    "c": 0.13581,
    "h": 90.1
  },
  "luminance": 0.47941
}

Semantic roles & 50–950 ramp

primary
#DAB442
secondary
#9CACDB
accent
#69EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DAB442

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

Preview Lab → · Contrast checker → · Palette generator →

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