#DAC45B#DAC45B

#DAC45B is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.8% C 0.127 H 97.6°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DAC45B
RGBrgb(218, 196, 91)
HSLhsl(50, 63%, 61%)
HSVhsv(50, 58%, 85%)
CMYKcmyk(0%, 10.1%, 58.3%, 14.5%)
CIE-LABlab(79.12, -4.93, 54.49)
CIE-LCHlch(79.12, 54.71, 95.17°)
OKLaboklab(81.84% -0.0169 0.1263)
OKLCHoklch(81.84% 0.127 97.6)
XYZxyz(50.5437, 55.1428, 17.8768)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAC45B #5B71DA
analogous
#DA845B #DAC45B #B1DA5B
triadic
#DAC45B #5BDAC4 #C45BDA
tetradic
#DAC45B #5BDA84 #5B71DA #DA5BB1
square
#DAC45B #5BDA84 #5B71DA #DA5BB1
split-complementary
#DAC45B #5BB1DA #845BDA
monochromatic
#988422 #CAAF2E #DAC45B #E5D68D #F1E8BF

Accessibility & contrast

On white

1.75
#DAC45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DAC45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAC45B
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAC45B#FFFFFF#000000##000000
##DAC45B1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C050
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#EAB7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dac45b;
/* rgb */ color: rgb(218, 196, 91);
/* oklch */ color: oklch(81.8% 0.127 97.6);
Tailwind
colors: {
  custom: {
    50: '#e8d58d',
    500: '#dac45b',
    950: '#000000',
  },
}
SCSS
$custom: #dac45b;
$custom-light: #e8d58d;
$custom-dark: #000000;
JSON
{
  "hex": "#dac45b",
  "rgb": {
    "r": 218,
    "g": 196,
    "b": 91
  },
  "hsl": {
    "h": 49.606,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81837,
    "c": 0.1274,
    "h": 97.6
  },
  "luminance": 0.55141
}

Semantic roles & 50–950 ramp

primary
#DAC45B
secondary
#3D4D9D
accent
#39CB1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DAC45B

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

Preview Lab → · Contrast checker → · Palette generator →

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