#DAB945#DAB945

#DAB945 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.4% C 0.137 H 92.9°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#DAB945
RGBrgb(218, 185, 69)
HSLhsl(47, 67%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 15.1%, 68.3%, 14.5%)
CIE-LABlab(76.09, -0.61, 60.82)
CIE-LCHlch(76.09, 60.82, 90.57°)
OKLaboklab(79.38% -0.007 0.1366)
OKLCHoklch(79.38% 0.137 92.9)
XYZxyz(47.3390, 50.0357, 12.7935)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB945 #4566DA
analogous
#DA6F45 #DAB945 #B1DA45
triadic
#DAB945 #45DAB9 #B945DA
tetradic
#DAB945 #45DA6F #4566DA #DA45B1
square
#DAB945 #45DA6F #4566DA #DA45B1
split-complementary
#DAB945 #45B1DA #6F45DA
monochromatic
#89711B #BC9B25 #DAB945 #E4CC78 #EEDFAB

Accessibility & contrast

On white

1.91
#DAB945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#DAB945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB945
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB945#FFFFFF#000000##000000
##DAB9451.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB636
Deuteranopia (green-blind)
#D4C04B
Tritanopia (blue-blind)
#EBABA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dab945;
/* rgb */ color: rgb(218, 185, 69);
/* oklch */ color: oklch(79.4% 0.137 92.9);
Tailwind
colors: {
  custom: {
    50: '#e9cd7f',
    500: '#dab945',
    950: '#000000',
  },
}
SCSS
$custom: #dab945;
$custom-light: #e9cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dab945",
  "rgb": {
    "r": 218,
    "g": 185,
    "b": 69
  },
  "hsl": {
    "h": 46.711,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79377,
    "c": 0.13673,
    "h": 92.9
  },
  "luminance": 0.50033
}

Semantic roles & 50–950 ramp

primary
#DAB945
secondary
#34488F
accent
#64EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DAB945

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

Preview Lab → · Contrast checker → · Palette generator →

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