#DABF40#DABF40

#DABF40 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.144 H 96.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#DABF40
RGBrgb(218, 191, 64)
HSLhsl(49, 68%, 55%)
HSVhsv(49, 71%, 85%)
CMYKcmyk(0%, 12.4%, 70.6%, 14.5%)
CIE-LABlab(77.60, -3.99, 64.34)
CIE-LCHlch(77.60, 64.47, 93.54°)
OKLaboklab(80.56% -0.0173 0.1431)
OKLCHoklch(80.56% 0.144 96.9)
XYZxyz(48.4720, 52.5397, 12.4375)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF40 #405BDA
analogous
#DA7240 #DABF40 #A8DA40
triadic
#DABF40 #40DABF #BF40DA
tetradic
#DABF40 #40DA72 #405BDA #DA40A8
square
#DABF40 #40DA72 #405BDA #DA40A8
split-complementary
#DABF40 #40A8DA #7240DA
monochromatic
#86731A #B99F24 #DABF40 #E4D073 #EEE1A7

Accessibility & contrast

On white

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

On black

11.51
#DABF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DABF40
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DABF40#FFFFFF#000000##000000
##DABF401.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dabf40;
/* rgb */ color: rgb(218, 191, 64);
/* oklch */ color: oklch(80.6% 0.144 96.9);
Tailwind
colors: {
  custom: {
    50: '#e9d17c',
    500: '#dabf40',
    950: '#000000',
  },
}
SCSS
$custom: #dabf40;
$custom-light: #e9d17c;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf40",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 49.481,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8056,
    "c": 0.14417,
    "h": 96.9
  },
  "luminance": 0.52537
}

Semantic roles & 50–950 ramp

primary
#DABF40
secondary
#32428C
accent
#5CEA3D
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #DABF40

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

Preview Lab → · Contrast checker → · Palette generator →

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