#DABB45#DABB45

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

Color values

HEX#DABB45
RGBrgb(218, 187, 69)
HSLhsl(48, 67%, 56%)
HSVhsv(48, 68%, 85%)
CMYKcmyk(0%, 14.2%, 68.3%, 14.5%)
CIE-LABlab(76.61, -1.65, 61.35)
CIE-LCHlch(76.61, 61.37, 91.54°)
OKLaboklab(79.78% -0.01 0.1377)
OKLCHoklch(79.78% 0.138 94.2)
XYZxyz(47.7603, 50.8783, 12.9339)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABB45 #4564DA
analogous
#DA7145 #DABB45 #AFDA45
triadic
#DABB45 #45DABB #BB45DA
tetradic
#DABB45 #45DA71 #4564DA #DA45AF
square
#DABB45 #45DA71 #4564DA #DA45AF
split-complementary
#DABB45 #45AFDA #7145DA
monochromatic
#89721B #BC9D25 #DABB45 #E4CE78 #EEE0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DABB45#FFFFFF#000000##000000
##DABB451.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)
#CEB835
Deuteranopia (green-blind)
#D6C14B
Tritanopia (blue-blind)
#EBADA3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dabb45;
/* rgb */ color: rgb(218, 187, 69);
/* oklch */ color: oklch(79.8% 0.138 94.2);
Tailwind
colors: {
  custom: {
    50: '#e9cf7f',
    500: '#dabb45',
    950: '#000000',
  },
}
SCSS
$custom: #dabb45;
$custom-light: #e9cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#dabb45",
  "rgb": {
    "r": 218,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 47.517,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79783,
    "c": 0.13803,
    "h": 94.2
  },
  "luminance": 0.50876
}

Semantic roles & 50–950 ramp

primary
#DABB45
secondary
#34478F
accent
#62EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABB45

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

Preview Lab → · Contrast checker → · Palette generator →

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