#DABC40#DABC40

#DABC40 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.9% C 0.142 H 95.2°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#DABC40
RGBrgb(218, 188, 64)
HSLhsl(48, 68%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 13.8%, 70.6%, 14.5%)
CIE-LABlab(76.83, -2.43, 63.57)
CIE-LCHlch(76.83, 63.62, 92.19°)
OKLaboklab(79.95% -0.0128 0.1415)
OKLCHoklch(79.95% 0.142 95.2)
XYZxyz(47.8245, 51.2446, 12.2217)
Luminance0.5124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABC40 #405EDA
analogous
#DA6F40 #DABC40 #ABDA40
triadic
#DABC40 #40DABC #BC40DA
tetradic
#DABC40 #40DA6F #405EDA #DA40AB
square
#DABC40 #40DA6F #405EDA #DA40AB
split-complementary
#DABC40 #40ABDA #6F40DA
monochromatic
#86711A #B99C24 #DABC40 #E4CE73 #EEE0A7

Accessibility & contrast

On white

1.87
#DABC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#DABC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABC40
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABC40#FFFFFF#000000##000000
##DABC401.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82E
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#EBAEA3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dabc40;
/* rgb */ color: rgb(218, 188, 64);
/* oklch */ color: oklch(79.9% 0.142 95.2);
Tailwind
colors: {
  custom: {
    50: '#e9cf7c',
    500: '#dabc40',
    950: '#000000',
  },
}
SCSS
$custom: #dabc40;
$custom-light: #e9cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dabc40",
  "rgb": {
    "r": 218,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 48.312,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79947,
    "c": 0.14208,
    "h": 95.2
  },
  "luminance": 0.51242
}

Semantic roles & 50–950 ramp

primary
#DABC40
secondary
#32448C
accent
#5FEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABC40

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

Preview Lab → · Contrast checker → · Palette generator →

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