#DABC38#DABC38

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

Color values

HEX#DABC38
RGBrgb(218, 188, 56)
HSLhsl(49, 69%, 54%)
HSVhsv(49, 74%, 85%)
CMYKcmyk(0%, 13.8%, 74.3%, 14.5%)
CIE-LABlab(76.78, -2.80, 66.51)
CIE-LCHlch(76.78, 66.57, 92.41°)
OKLaboklab(79.89% -0.0147 0.1462)
OKLCHoklch(79.89% 0.147 95.7)
XYZxyz(47.6130, 51.1600, 11.1076)
Luminance0.5116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABC38 #3856DA
analogous
#DA6B38 #DABC38 #A7DA38
triadic
#DABC38 #38DABC #BC38DA
tetradic
#DABC38 #38DA6B #3856DA #DA38A7
square
#DABC38 #38DA6B #3856DA #DA38A7
split-complementary
#DABC38 #38A7DA #6B38DA
monochromatic
#806D18 #B39821 #DABC38 #E4CD6C #EDDF9F

Accessibility & contrast

On white

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

On black

11.23
#DABC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABC38
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABC38#FFFFFF#000000##000000
##DABC381.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B820
Deuteranopia (green-blind)
#D7C240
Tritanopia (blue-blind)
#EBADA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dabc38;
/* rgb */ color: rgb(218, 188, 56);
/* oklch */ color: oklch(79.9% 0.147 95.7);
Tailwind
colors: {
  custom: {
    50: '#eacf78',
    500: '#dabc38',
    950: '#000000',
  },
}
SCSS
$custom: #dabc38;
$custom-light: #eacf78;
$custom-dark: #000000;
JSON
{
  "hex": "#dabc38",
  "rgb": {
    "r": 218,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 48.889,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.7989,
    "c": 0.14698,
    "h": 95.7
  },
  "luminance": 0.51157
}

Semantic roles & 50–950 ramp

primary
#DABC38
secondary
#2F4087
accent
#5DEB3C
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #DABC38

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

Preview Lab → · Contrast checker → · Palette generator →

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