#DABF4F#DABF4F

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

Color values

HEX#DABF4F
RGBrgb(218, 191, 79)
HSLhsl(48, 65%, 58%)
HSVhsv(48, 64%, 85%)
CMYKcmyk(0%, 12.4%, 63.8%, 14.5%)
CIE-LABlab(77.72, -3.15, 58.30)
CIE-LCHlch(77.72, 58.38, 93.10°)
OKLaboklab(80.69% -0.0132 0.1328)
OKLCHoklch(80.69% 0.133 95.7)
XYZxyz(48.9577, 52.7340, 14.9955)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DABF4F #4F6ADA
analogous
#DA794F #DABF4F #B0DA4F
triadic
#DABF4F #4FDABF #BF4FDA
tetradic
#DABF4F #4FDA79 #4F6ADA #DA4FB0
square
#DABF4F #4FDA79 #4F6ADA #DA4FB0
split-complementary
#DABF4F #4FB0DA #794FDA
monochromatic
#907A1E #C3A529 #DABF4F #E5D182 #EFE4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DABF4F#FFFFFF#000000##000000
##DABF4F1.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)
#D1BB42
Deuteranopia (green-blind)
#D8C455
Tritanopia (blue-blind)
#EAB1A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dabf4f;
/* rgb */ color: rgb(218, 191, 79);
/* oklch */ color: oklch(80.7% 0.133 95.7);
Tailwind
colors: {
  custom: {
    50: '#e9d285',
    500: '#dabf4f',
    950: '#000000',
  },
}
SCSS
$custom: #dabf4f;
$custom-light: #e9d285;
$custom-dark: #000000;
JSON
{
  "hex": "#dabf4f",
  "rgb": {
    "r": 218,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 48.345,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.13344,
    "h": 95.7
  },
  "luminance": 0.52732
}

Semantic roles & 50–950 ramp

primary
#DABF4F
secondary
#384A95
accent
#60E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DABF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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