#DABF4A#DABF4A

#DABF4A is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.137 H 96.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#DABF4A
RGBrgb(218, 191, 74)
HSLhsl(49, 66%, 57%)
HSVhsv(49, 66%, 85%)
CMYKcmyk(0%, 12.4%, 66.1%, 14.5%)
CIE-LABlab(77.68, -3.45, 60.39)
CIE-LCHlch(77.68, 60.49, 93.27°)
OKLaboklab(80.64% -0.0146 0.1365)
OKLCHoklch(80.64% 0.137 96.1)
XYZxyz(48.7826, 52.6639, 14.0729)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF4A #4A65DA
analogous
#DA774A #DABF4A #ADDA4A
triadic
#DABF4A #4ADABF #BF4ADA
tetradic
#DABF4A #4ADA77 #4A65DA #DA4AAD
square
#DABF4A #4ADA77 #4A65DA #DA4AAD
split-complementary
#DABF4A #4AADDA #774ADA
monochromatic
#8D781D #C0A327 #DABF4A #E4D17D #EFE3B0

Accessibility & contrast

On white

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

On black

11.53
#DABF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF4A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF4A#FFFFFF#000000##000000
##DABF4A1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3B
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#EBB1A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf4a;
/* rgb */ color: rgb(218, 191, 74);
/* oklch */ color: oklch(80.6% 0.137 96.1);
Tailwind
colors: {
  custom: {
    50: '#e9d282',
    500: '#dabf4a',
    950: '#000000',
  },
}
SCSS
$custom: #dabf4a;
$custom-light: #e9d282;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf4a",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 48.75,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80642,
    "c": 0.13724,
    "h": 96.1
  },
  "luminance": 0.52661
}

Semantic roles & 50–950 ramp

primary
#DABF4A
secondary
#364792
accent
#5FE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DABF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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