#DABF54#DABF54

#DABF54 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.129 H 95.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#DABF54
RGBrgb(218, 191, 84)
HSLhsl(48, 64%, 59%)
HSVhsv(48, 61%, 85%)
CMYKcmyk(0%, 12.4%, 61.5%, 14.5%)
CIE-LABlab(77.76, -2.83, 56.14)
CIE-LCHlch(77.76, 56.21, 92.89°)
OKLaboklab(80.74% -0.0116 0.1289)
OKLCHoklch(80.74% 0.129 95.2)
XYZxyz(49.1466, 52.8095, 15.9903)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF54 #546FDA
analogous
#DA7C54 #DABF54 #B2DA54
triadic
#DABF54 #54DABF #BF54DA
tetradic
#DABF54 #54DA7C #546FDA #DA54B2
square
#DABF54 #54DA7C #546FDA #DA54B2
split-complementary
#DABF54 #54B2DA #7C54DA
monochromatic
#947C20 #C6A72B #DABF54 #E5D286 #F0E5B9

Accessibility & contrast

On white

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

On black

11.56
#DABF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF54
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF54#FFFFFF#000000##000000
##DABF541.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB48
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#EAB2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf54;
/* rgb */ color: rgb(218, 191, 84);
/* oklch */ color: oklch(80.7% 0.129 95.2);
Tailwind
colors: {
  custom: {
    50: '#e9d288',
    500: '#dabf54',
    950: '#000000',
  },
}
SCSS
$custom: #dabf54;
$custom-light: #e9d288;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf54",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 84
  },
  "hsl": {
    "h": 47.91,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80738,
    "c": 0.12944,
    "h": 95.2
  },
  "luminance": 0.52807
}

Semantic roles & 50–950 ramp

primary
#DABF54
secondary
#3A4D98
accent
#62E740
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DABF54

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

Preview Lab → · Contrast checker → · Palette generator →

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