#DAB845#DAB845

#DAB845 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.2% C 0.136 H 92.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#DAB845
RGBrgb(218, 184, 69)
HSLhsl(46, 67%, 56%)
HSVhsv(46, 68%, 85%)
CMYKcmyk(0%, 15.6%, 68.3%, 14.5%)
CIE-LABlab(75.83, -0.09, 60.56)
CIE-LCHlch(75.83, 60.56, 90.08°)
OKLaboklab(79.17% -0.0055 0.136)
OKLCHoklch(79.17% 0.136 92.3)
XYZxyz(47.1305, 49.6187, 12.7240)
Luminance0.4962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB845 #4567DA
analogous
#DA6E45 #DAB845 #B2DA45
triadic
#DAB845 #45DAB8 #B845DA
tetradic
#DAB845 #45DA6E #4567DA #DA45B2
square
#DAB845 #45DA6E #4567DA #DA45B2
split-complementary
#DAB845 #45B2DA #6E45DA
monochromatic
#89701B #BC9A25 #DAB845 #E4CB78 #EEDFAB

Accessibility & contrast

On white

1.92
#DAB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#DAB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB845
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB845#FFFFFF#000000##000000
##DAB8451.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#EBAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dab845;
/* rgb */ color: rgb(218, 184, 69);
/* oklch */ color: oklch(79.2% 0.136 92.3);
Tailwind
colors: {
  custom: {
    50: '#e9cd7f',
    500: '#dab845',
    950: '#000000',
  },
}
SCSS
$custom: #dab845;
$custom-light: #e9cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dab845",
  "rgb": {
    "r": 218,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 46.309,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79174,
    "c": 0.1361,
    "h": 92.3
  },
  "luminance": 0.49616
}

Semantic roles & 50–950 ramp

primary
#DAB845
secondary
#9FADDC
accent
#65EA3E
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #DAB845

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

Preview Lab → · Contrast checker → · Palette generator →

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