#DABC3E#DABC3E

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

Color values

HEX#DABC3E
RGBrgb(218, 188, 62)
HSLhsl(48, 68%, 55%)
HSVhsv(48, 72%, 85%)
CMYKcmyk(0%, 13.8%, 71.6%, 14.5%)
CIE-LABlab(76.81, -2.53, 64.33)
CIE-LCHlch(76.81, 64.38, 92.25°)
OKLaboklab(79.93% -0.0133 0.1427)
OKLCHoklch(79.93% 0.143 95.3)
XYZxyz(47.7686, 51.2223, 11.9273)
Luminance0.5122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABC3E #3E5CDA
analogous
#DA6E3E #DABC3E #AADA3E
triadic
#DABC3E #3EDABC #BC3EDA
tetradic
#DABC3E #3EDA6E #3E5CDA #DA3EAA
square
#DABC3E #3EDA6E #3E5CDA #DA3EAA
split-complementary
#DABC3E #3EAADA #6E3EDA
monochromatic
#847019 #B89B23 #DABC3E #E4CE71 #EEE0A5

Accessibility & contrast

On white

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

On black

11.24
#DABC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABC3E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABC3E#FFFFFF#000000##000000
##DABC3E1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82B
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#EBADA3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dabc3e;
/* rgb */ color: rgb(218, 188, 62);
/* oklch */ color: oklch(79.9% 0.143 95.3);
Tailwind
colors: {
  custom: {
    50: '#e9cf7b',
    500: '#dabc3e',
    950: '#000000',
  },
}
SCSS
$custom: #dabc3e;
$custom-light: #e9cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#dabc3e",
  "rgb": {
    "r": 218,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 48.462,
    "s": 67.826,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79932,
    "c": 0.14336,
    "h": 95.3
  },
  "luminance": 0.5122
}

Semantic roles & 50–950 ramp

primary
#DABC3E
secondary
#31438B
accent
#5EEB3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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