#DABB40#DABB40

#DABB40 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.141 H 94.6°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#DABB40
RGBrgb(218, 187, 64)
HSLhsl(48, 68%, 55%)
HSVhsv(48, 71%, 85%)
CMYKcmyk(0%, 14.2%, 70.6%, 14.5%)
CIE-LABlab(76.57, -1.91, 63.31)
CIE-LCHlch(76.57, 63.34, 91.73°)
OKLaboklab(79.74% -0.0113 0.141)
OKLCHoklch(79.74% 0.141 94.6)
XYZxyz(47.6116, 50.8188, 12.1507)
Luminance0.5082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABB40 #405FDA
analogous
#DA6E40 #DABB40 #ACDA40
triadic
#DABB40 #40DABB #BB40DA
tetradic
#DABB40 #40DA6E #405FDA #DA40AC
square
#DABB40 #40DA6E #405FDA #DA40AC
split-complementary
#DABB40 #40ACDA #6E40DA
monochromatic
#86701A #B99B24 #DABB40 #E4CD73 #EEE0A7

Accessibility & contrast

On white

1.88
#DABB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#DABB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABB40
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABB40#FFFFFF#000000##000000
##DABB401.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#EBACA2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dabb40;
/* rgb */ color: rgb(218, 187, 64);
/* oklch */ color: oklch(79.7% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#e9cf7c',
    500: '#dabb40',
    950: '#000000',
  },
}
SCSS
$custom: #dabb40;
$custom-light: #e9cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#dabb40",
  "rgb": {
    "r": 218,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 47.922,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79743,
    "c": 0.1414,
    "h": 94.6
  },
  "luminance": 0.50816
}

Semantic roles & 50–950 ramp

primary
#DABB40
secondary
#32448C
accent
#60EA3D
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABB40

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

Preview Lab → · Contrast checker → · Palette generator →

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