#DABC45#DABC45

#DABC45 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 80.0% C 0.139 H 94.8°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#DABC45
RGBrgb(218, 188, 69)
HSLhsl(48, 67%, 56%)
HSVhsv(48, 68%, 85%)
CMYKcmyk(0%, 13.8%, 68.3%, 14.5%)
CIE-LABlab(76.86, -2.17, 61.61)
CIE-LCHlch(76.86, 61.65, 92.02°)
OKLaboklab(79.99% -0.0115 0.1382)
OKLCHoklch(79.99% 0.139 94.8)
XYZxyz(47.9732, 51.3041, 13.0049)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABC45 #4563DA
analogous
#DA7245 #DABC45 #AEDA45
triadic
#DABC45 #45DABC #BC45DA
tetradic
#DABC45 #45DA72 #4563DA #DA45AE
square
#DABC45 #45DA72 #4563DA #DA45AE
split-complementary
#DABC45 #45AEDA #7245DA
monochromatic
#89731B #BC9E25 #DABC45 #E4CE78 #EEE1AB

Accessibility & contrast

On white

1.86
#DABC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#DABC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABC45
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABC45#FFFFFF#000000##000000
##DABC451.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB835
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#EBAEA4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dabc45;
/* rgb */ color: rgb(218, 188, 69);
/* oklch */ color: oklch(80.0% 0.139 94.8);
Tailwind
colors: {
  custom: {
    50: '#e9cf7f',
    500: '#dabc45',
    950: '#000000',
  },
}
SCSS
$custom: #dabc45;
$custom-light: #e9cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dabc45",
  "rgb": {
    "r": 218,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 47.919,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79987,
    "c": 0.13871,
    "h": 94.8
  },
  "luminance": 0.51302
}

Semantic roles & 50–950 ramp

primary
#DABC45
secondary
#34468F
accent
#61EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABC45

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

Preview Lab → · Contrast checker → · Palette generator →

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