#DAF152#DAF152

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

Color values

HEX#DAF152
RGBrgb(218, 241, 82)
HSLhsl(69, 85%, 63%)
HSVhsv(69, 66%, 95%)
CMYKcmyk(9.5%, 0%, 66%, 5.5%)
CIE-LABlab(90.97, -27.71, 71.02)
CIE-LCHlch(90.97, 76.23, 111.32°)
OKLaboklab(91.27% -0.0822 0.1601)
OKLCHoklch(91.27% 0.18 117.2)
XYZxyz(61.8931, 78.4259, 19.8582)
Luminance0.7843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF152 #6952F1
analogous
#F1B852 #DAF152 #8AF152
triadic
#DAF152 #52DAF1 #F152DA
tetradic
#DAF152 #52F1B8 #6952F1 #F1528A
square
#DAF152 #52F1B8 #6952F1 #F1528A
split-complementary
#DAF152 #528AF1 #B852F1
monochromatic
#A1BA0F #CEEC19 #DAF152 #E6F68B #F2FAC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DAF152#FFFFFF#000000##000000
##DAF1521.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)
#FFE53B
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#E7E4D1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #daf152;
/* rgb */ color: rgb(218, 241, 82);
/* oklch */ color: oklch(91.3% 0.180 117.2);
Tailwind
colors: {
  custom: {
    50: '#e9f58b',
    500: '#daf152',
    950: '#000000',
  },
}
SCSS
$custom: #daf152;
$custom-light: #e9f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#daf152",
  "rgb": {
    "r": 218,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 68.679,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91267,
    "c": 0.17999,
    "h": 117.2
  },
  "luminance": 0.78425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DAF152

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

Preview Lab → · Contrast checker → · Palette generator →

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