#DAF158#DAF158

#DAF158 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.3% C 0.176 H 117.3°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#DAF158
RGBrgb(218, 241, 88)
HSLhsl(69, 85%, 65%)
HSVhsv(69, 63%, 95%)
CMYKcmyk(9.5%, 0%, 63.5%, 5.5%)
CIE-LABlab(91.02, -27.34, 68.75)
CIE-LCHlch(91.02, 73.99, 111.69°)
OKLaboklab(91.32% -0.0807 0.1562)
OKLCHoklch(91.32% 0.176 117.3)
XYZxyz(62.1314, 78.5213, 21.1137)
Luminance0.7852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF158 #6F58F1
analogous
#F1BC58 #DAF158 #8DF158
triadic
#DAF158 #58DAF1 #F158DA
tetradic
#DAF158 #58F1BC #6F58F1 #F1588D
square
#DAF158 #58F1BC #6F58F1 #F1588D
split-complementary
#DAF158 #588DF1 #BC58F1
monochromatic
#A4BF10 #CDEC20 #DAF158 #E7F690 #F3FAC9

Accessibility & contrast

On white

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

On black

16.70
#DAF158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF158
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF158#FFFFFF#000000##000000
##DAF1581.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FEE663
Tritanopia (blue-blind)
#E7E4D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #daf158;
/* rgb */ color: rgb(218, 241, 88);
/* oklch */ color: oklch(91.3% 0.176 117.3);
Tailwind
colors: {
  custom: {
    50: '#e9f58e',
    500: '#daf158',
    950: '#000000',
  },
}
SCSS
$custom: #daf158;
$custom-light: #e9f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#daf158",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 69.02,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91316,
    "c": 0.17578,
    "h": 117.3
  },
  "luminance": 0.78521
}

Semantic roles & 50–950 ramp

primary
#DAF158
secondary
#4630BD
accent
#05E126
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #DAF158

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

Preview Lab → · Contrast checker → · Palette generator →

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