#DAF952#DAF952

#DAF952 is a very light, vivid yellow-green. Relative luminance 0.833; OKLCH L 93.0% C 0.189 H 119.3°. Best body text is #000000 at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#DAF952
RGBrgb(218, 249, 82)
HSLhsl(71, 93%, 65%)
HSVhsv(71, 67%, 98%)
CMYKcmyk(12.4%, 0%, 67.1%, 2.4%)
CIE-LABlab(93.13, -31.43, 73.22)
CIE-LCHlch(93.13, 79.68, 113.23°)
OKLaboklab(93% -0.0926 0.1647)
OKLCHoklch(93% 0.189 119.3)
XYZxyz(64.3133, 83.2664, 20.6649)
Luminance0.8327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF952 #7152F9
analogous
#F9C552 #DAF952 #86F952
triadic
#DAF952 #52DAF9 #F952DA
tetradic
#DAF952 #52F9C5 #7152F9 #F95286
square
#DAF952 #52F9C5 #7152F9 #F95286
split-complementary
#DAF952 #5286F9 #C552F9
monochromatic
#A5CA07 #CDF717 #DAF952 #E7FB8D #F3FDC8

Accessibility & contrast

On white

1.19
#DAF952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.65
#DAF952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF952
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF952#FFFFFF#000000##000000
##DAF9521.001.1917.6517.65
#FFFFFF1.191.0021.0021.00
#00000017.6521.001.001.00
##00000017.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB39
Deuteranopia (green-blind)
#FFEC5F
Tritanopia (blue-blind)
#E6ECD8
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #daf952;
/* rgb */ color: rgb(218, 249, 82);
/* oklch */ color: oklch(93.0% 0.189 119.3);
Tailwind
colors: {
  custom: {
    50: '#e9fb8b',
    500: '#daf952',
    950: '#000000',
  },
}
SCSS
$custom: #daf952;
$custom-light: #e9fb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#daf952",
  "rgb": {
    "r": 218,
    "g": 249,
    "b": 82
  },
  "hsl": {
    "h": 71.138,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.93001,
    "c": 0.18898,
    "h": 119.3
  },
  "luminance": 0.83266
}

Semantic roles & 50–950 ramp

primary
#DAF952
secondary
#4629C6
accent
#00E62B
background
#FFFFFC
surface
#FEFFF4
border
#D6D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #DAF952

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

Preview Lab → · Contrast checker → · Palette generator →

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