#DABA45#DABA45

#DABA45 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.6% C 0.137 H 93.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#DABA45
RGBrgb(218, 186, 69)
HSLhsl(47, 67%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 14.7%, 68.3%, 14.5%)
CIE-LABlab(76.35, -1.13, 61.08)
CIE-LCHlch(76.35, 61.09, 91.06°)
OKLaboklab(79.58% -0.0085 0.1371)
OKLCHoklch(79.58% 0.137 93.6)
XYZxyz(47.5489, 50.4555, 12.8635)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABA45 #4565DA
analogous
#DA7045 #DABA45 #B0DA45
triadic
#DABA45 #45DABA #BA45DA
tetradic
#DABA45 #45DA70 #4565DA #DA45B0
square
#DABA45 #45DA70 #4565DA #DA45B0
split-complementary
#DABA45 #45B0DA #7045DA
monochromatic
#89721B #BC9C25 #DABA45 #E4CD78 #EEE0AB

Accessibility & contrast

On white

1.89
#DABA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#DABA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABA45
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABA45#FFFFFF#000000##000000
##DABA451.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB736
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#EBACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #daba45;
/* rgb */ color: rgb(218, 186, 69);
/* oklch */ color: oklch(79.6% 0.137 93.6);
Tailwind
colors: {
  custom: {
    50: '#e9ce7f',
    500: '#daba45',
    950: '#000000',
  },
}
SCSS
$custom: #daba45;
$custom-light: #e9ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#daba45",
  "rgb": {
    "r": 218,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 47.114,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7958,
    "c": 0.13738,
    "h": 93.6
  },
  "luminance": 0.50453
}

Semantic roles & 50–950 ramp

primary
#DABA45
secondary
#34488F
accent
#63EA3E
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #DABA45

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

Preview Lab → · Contrast checker → · Palette generator →

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