#DABF45#DABF45

#DABF45 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.141 H 96.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#DABF45
RGBrgb(218, 191, 69)
HSLhsl(49, 67%, 56%)
HSVhsv(49, 68%, 85%)
CMYKcmyk(0%, 12.4%, 68.3%, 14.5%)
CIE-LABlab(77.64, -3.73, 62.41)
CIE-LCHlch(77.64, 62.52, 93.42°)
OKLaboklab(80.6% -0.016 0.1399)
OKLCHoklch(80.6% 0.141 96.5)
XYZxyz(48.6208, 52.5992, 13.2207)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF45 #4560DA
analogous
#DA7545 #DABF45 #AADA45
triadic
#DABF45 #45DABF #BF45DA
tetradic
#DABF45 #45DA75 #4560DA #DA45AA
square
#DABF45 #45DA75 #4560DA #DA45AA
split-complementary
#DABF45 #45AADA #7545DA
monochromatic
#89751B #BCA125 #DABF45 #E4D178 #EEE2AB

Accessibility & contrast

On white

1.82
#DABF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#DABF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF45
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF45#FFFFFF#000000##000000
##DABF451.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB34
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#EBB1A6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf45;
/* rgb */ color: rgb(218, 191, 69);
/* oklch */ color: oklch(80.6% 0.141 96.5);
Tailwind
colors: {
  custom: {
    50: '#e9d17f',
    500: '#dabf45',
    950: '#000000',
  },
}
SCSS
$custom: #dabf45;
$custom-light: #e9d17f;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf45",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 49.128,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.806,
    "c": 0.14082,
    "h": 96.5
  },
  "luminance": 0.52597
}

Semantic roles & 50–950 ramp

primary
#DABF45
secondary
#34448F
accent
#5DEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DABF45

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

Preview Lab → · Contrast checker → · Palette generator →

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