#DAF251#DAF251

#DAF251 is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.5% C 0.182 H 117.5°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#DAF251
RGBrgb(218, 242, 81)
HSLhsl(69, 86%, 63%)
HSVhsv(69, 67%, 95%)
CMYKcmyk(9.9%, 0%, 66.5%, 5.1%)
CIE-LABlab(91.24, -28.24, 71.66)
CIE-LCHlch(91.24, 77.02, 111.51°)
OKLaboklab(91.48% -0.0838 0.1613)
OKLCHoklch(91.48% 0.182 117.5)
XYZxyz(62.1521, 79.0044, 19.7582)
Luminance0.7900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF251 #6951F2
analogous
#F2B951 #DAF251 #89F251
triadic
#DAF251 #51DAF2 #F251DA
tetradic
#DAF251 #51F2B9 #6951F2 #F25189
square
#DAF251 #51F2B9 #6951F2 #F25189
split-complementary
#DAF251 #5189F2 #B951F2
monochromatic
#A1BB0E #CEEE18 #DAF251 #E6F68A #F2FBC3

Accessibility & contrast

On white

1.25
#DAF251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#DAF251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF251
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF251#FFFFFF#000000##000000
##DAF2511.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE539
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#E7E5D2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf251;
/* rgb */ color: rgb(218, 242, 81);
/* oklch */ color: oklch(91.5% 0.182 117.5);
Tailwind
colors: {
  custom: {
    50: '#e9f68a',
    500: '#daf251',
    950: '#000000',
  },
}
SCSS
$custom: #daf251;
$custom-light: #e9f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#daf251",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 68.944,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91476,
    "c": 0.18178,
    "h": 117.5
  },
  "luminance": 0.79004
}

Semantic roles & 50–950 ramp

primary
#DAF251
secondary
#432EB9
accent
#03E324
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #DAF251

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

Preview Lab → · Contrast checker → · Palette generator →

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