#DABF51#DABF51

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

Color values

HEX#DABF51
RGBrgb(218, 191, 81)
HSLhsl(48, 65%, 59%)
HSVhsv(48, 63%, 85%)
CMYKcmyk(0%, 12.4%, 62.8%, 14.5%)
CIE-LABlab(77.74, -3.03, 57.44)
CIE-LCHlch(77.74, 57.52, 93.02°)
OKLaboklab(80.71% -0.0126 0.1313)
OKLCHoklch(80.71% 0.132 95.5)
XYZxyz(49.0316, 52.7635, 15.3847)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF51 #516CDA
analogous
#DA7A51 #DABF51 #B0DA51
triadic
#DABF51 #51DABF #BF51DA
tetradic
#DABF51 #51DA7A #516CDA #DA51B0
square
#DABF51 #51DA7A #516CDA #DA51B0
split-complementary
#DABF51 #51B0DA #7A51DA
monochromatic
#927B1F #C4A62A #DABF51 #E5D283 #EFE4B6

Accessibility & contrast

On white

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

On black

11.55
#DABF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF51
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF51#FFFFFF#000000##000000
##DABF511.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#EAB1A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf51;
/* rgb */ color: rgb(218, 191, 81);
/* oklch */ color: oklch(80.7% 0.132 95.5);
Tailwind
colors: {
  custom: {
    50: '#e9d286',
    500: '#dabf51',
    950: '#000000',
  },
}
SCSS
$custom: #dabf51;
$custom-light: #e9d286;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf51",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 48.175,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80708,
    "c": 0.13187,
    "h": 95.5
  },
  "luminance": 0.52761
}

Semantic roles & 50–950 ramp

primary
#DABF51
secondary
#394B97
accent
#61E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DABF51

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

Preview Lab → · Contrast checker → · Palette generator →

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