#DAB545#DAB545

#DAB545 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.6% C 0.134 H 90.4°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#DAB545
RGBrgb(218, 181, 69)
HSLhsl(45, 67%, 56%)
HSVhsv(45, 68%, 85%)
CMYKcmyk(0%, 17%, 68.3%, 14.5%)
CIE-LABlab(75.07, 1.49, 59.76)
CIE-LCHlch(75.07, 59.78, 88.57°)
OKLaboklab(78.57% -0.001 0.1343)
OKLCHoklch(78.57% 0.134 90.4)
XYZxyz(46.5140, 48.3856, 12.5185)
Luminance0.4838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAB545 #456ADA
analogous
#DA6B45 #DAB545 #B4DA45
triadic
#DAB545 #45DAB5 #B545DA
tetradic
#DAB545 #45DA6B #456ADA #DA45B4
square
#DAB545 #45DA6B #456ADA #DA45B4
split-complementary
#DAB545 #45B4DA #6B45DA
monochromatic
#896E1B #BC9725 #DAB545 #E4C978 #EEDEAB

Accessibility & contrast

On white

1.97
#DAB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#DAB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAB545
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAB545#FFFFFF#000000##000000
##DAB5451.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B337
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#EBA79E
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dab545;
/* rgb */ color: rgb(218, 181, 69);
/* oklch */ color: oklch(78.6% 0.134 90.4);
Tailwind
colors: {
  custom: {
    50: '#e9ca7e',
    500: '#dab545',
    950: '#000000',
  },
}
SCSS
$custom: #dab545;
$custom-light: #e9ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#dab545",
  "rgb": {
    "r": 218,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 45.101,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78569,
    "c": 0.13431,
    "h": 90.4
  },
  "luminance": 0.48383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAB545

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

Preview Lab → · Contrast checker → · Palette generator →

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