#DAF151#DAF151

#DAF151 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.3% C 0.181 H 117.2°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#DAF151
RGBrgb(218, 241, 81)
HSLhsl(69, 85%, 63%)
HSVhsv(69, 66%, 95%)
CMYKcmyk(9.5%, 0%, 66.4%, 5.5%)
CIE-LABlab(90.97, -27.77, 71.39)
CIE-LCHlch(90.97, 76.60, 111.26°)
OKLaboklab(91.26% -0.0825 0.1607)
OKLCHoklch(91.26% 0.181 117.2)
XYZxyz(61.8553, 78.4108, 19.6593)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF151 #6851F1
analogous
#F1B851 #DAF151 #8AF151
triadic
#DAF151 #51DAF1 #F151DA
tetradic
#DAF151 #51F1B8 #6851F1 #F1518A
square
#DAF151 #51F1B8 #6851F1 #F1518A
split-complementary
#DAF151 #518AF1 #B851F1
monochromatic
#A0B90F #CEEC18 #DAF151 #E6F68A #F2FAC2

Accessibility & contrast

On white

1.26
#DAF151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#DAF151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF151
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF151#FFFFFF#000000##000000
##DAF1511.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE539
Deuteranopia (green-blind)
#FFE65D
Tritanopia (blue-blind)
#E7E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #daf151;
/* rgb */ color: rgb(218, 241, 81);
/* oklch */ color: oklch(91.3% 0.181 117.2);
Tailwind
colors: {
  custom: {
    50: '#e9f58a',
    500: '#daf151',
    950: '#000000',
  },
}
SCSS
$custom: #daf151;
$custom-light: #e9f58a;
$custom-dark: #000000;
JSON
{
  "hex": "#daf151",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 81
  },
  "hsl": {
    "h": 68.625,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.9126,
    "c": 0.18067,
    "h": 117.2
  },
  "luminance": 0.7841
}

Semantic roles & 50–950 ramp

primary
#DAF151
secondary
#422FB8
accent
#04E224
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #DAF151

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

Preview Lab → · Contrast checker → · Palette generator →

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