#DABC48#DABC48

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

Color values

HEX#DABC48
RGBrgb(218, 188, 72)
HSLhsl(48, 66%, 57%)
HSVhsv(48, 67%, 85%)
CMYKcmyk(0%, 13.8%, 67%, 14.5%)
CIE-LABlab(76.89, -2.01, 60.40)
CIE-LCHlch(76.89, 60.43, 91.90°)
OKLaboklab(80.01% -0.0107 0.1362)
OKLCHoklch(80.01% 0.137 94.5)
XYZxyz(48.0687, 51.3423, 13.5078)
Luminance0.5134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABC48 #4866DA
analogous
#DA7348 #DABC48 #AFDA48
triadic
#DABC48 #48DABC #BC48DA
tetradic
#DABC48 #48DA73 #4866DA #DA48AF
square
#DABC48 #48DA73 #4866DA #DA48AF
split-complementary
#DABC48 #48AFDA #7348DA
monochromatic
#8B751C #BE9F26 #DABC48 #E4CF7B #EFE1AE

Accessibility & contrast

On white

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

On black

11.27
#DABC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABC48
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABC48#FFFFFF#000000##000000
##DABC481.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dabc48;
/* rgb */ color: rgb(218, 188, 72);
/* oklch */ color: oklch(80.0% 0.137 94.5);
Tailwind
colors: {
  custom: {
    50: '#e9cf81',
    500: '#dabc48',
    950: '#000000',
  },
}
SCSS
$custom: #dabc48;
$custom-light: #e9cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#dabc48",
  "rgb": {
    "r": 218,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 47.671,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80012,
    "c": 0.13658,
    "h": 94.5
  },
  "luminance": 0.5134
}

Semantic roles & 50–950 ramp

primary
#DABC48
secondary
#354891
accent
#62E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DABC48

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

Preview Lab → · Contrast checker → · Palette generator →

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