#DABB48#DABB48

#DABB48 is a light, vivid yellow. Relative luminance 0.509; OKLCH L 79.8% C 0.136 H 93.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#DABB48
RGBrgb(218, 187, 72)
HSLhsl(47, 66%, 57%)
HSVhsv(47, 67%, 85%)
CMYKcmyk(0%, 14.2%, 67%, 14.5%)
CIE-LABlab(76.63, -1.49, 60.13)
CIE-LCHlch(76.63, 60.15, 91.42°)
OKLaboklab(79.81% -0.0092 0.1356)
OKLCHoklch(79.81% 0.136 93.9)
XYZxyz(47.8558, 50.9165, 13.4368)
Luminance0.5091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABB48 #4867DA
analogous
#DA7248 #DABB48 #B0DA48
triadic
#DABB48 #48DABB #BB48DA
tetradic
#DABB48 #48DA72 #4867DA #DA48B0
square
#DABB48 #48DA72 #4867DA #DA48B0
split-complementary
#DABB48 #48B0DA #7248DA
monochromatic
#8B741C #BE9E26 #DABB48 #E4CE7B #EFE1AE

Accessibility & contrast

On white

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

On black

11.18
#DABB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABB48
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABB48#FFFFFF#000000##000000
##DABB481.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#EBADA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dabb48;
/* rgb */ color: rgb(218, 187, 72);
/* oklch */ color: oklch(79.8% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#e9cf81',
    500: '#dabb48',
    950: '#000000',
  },
}
SCSS
$custom: #dabb48;
$custom-light: #e9cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#dabb48",
  "rgb": {
    "r": 218,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 47.26,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79809,
    "c": 0.1359,
    "h": 93.9
  },
  "luminance": 0.50914
}

Semantic roles & 50–950 ramp

primary
#DABB48
secondary
#354991
accent
#63E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130B
muted
#85837E

Preview Lab

Preview with #DABB48

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

Preview Lab → · Contrast checker → · Palette generator →

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