#DAF462#DAF462

#DAF462 is a very light, vivid yellow-green. Relative luminance 0.805; OKLCH L 92.1% C 0.172 H 118.4°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#DAF462
RGBrgb(218, 244, 98)
HSLhsl(71, 87%, 67%)
HSVhsv(71, 60%, 96%)
CMYKcmyk(10.7%, 0%, 59.8%, 4.3%)
CIE-LABlab(91.90, -28.07, 65.66)
CIE-LCHlch(91.90, 71.41, 113.15°)
OKLaboklab(92.05% -0.0817 0.1509)
OKLCHoklch(92.05% 0.172 118.4)
XYZxyz(63.4698, 80.4891, 23.7452)
Luminance0.8049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF462 #7C62F4
analogous
#F4C562 #DAF462 #91F462
triadic
#DAF462 #62DAF4 #F462DA
tetradic
#DAF462 #62F4C5 #7C62F4 #F46291
square
#DAF462 #62F4C5 #7C62F4 #F46291
split-complementary
#DAF462 #6291F4 #C562F4
monochromatic
#ABCD0E #CDF029 #DAF462 #E7F89B #F5FCD4

Accessibility & contrast

On white

1.23
#DAF462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.10
#DAF462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF462
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF462#FFFFFF#000000##000000
##DAF4621.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFE86C
Tritanopia (blue-blind)
#E6E8D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #daf462;
/* rgb */ color: rgb(218, 244, 98);
/* oklch */ color: oklch(92.1% 0.172 118.4);
Tailwind
colors: {
  custom: {
    50: '#e8f794',
    500: '#daf462',
    950: '#000000',
  },
}
SCSS
$custom: #daf462;
$custom-light: #e8f794;
$custom-dark: #000000;
JSON
{
  "hex": "#daf462",
  "rgb": {
    "r": 218,
    "g": 244,
    "b": 98
  },
  "hsl": {
    "h": 70.685,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.92054,
    "c": 0.17164,
    "h": 118.4
  },
  "luminance": 0.80489
}

Semantic roles & 50–950 ramp

primary
#DAF462
secondary
#4C31C9
accent
#02E32A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF462

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

Preview Lab → · Contrast checker → · Palette generator →

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