#DAF262#DAF262

#DAF262 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.6% C 0.169 H 117.9°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#DAF262
RGBrgb(218, 242, 98)
HSLhsl(70, 85%, 67%)
HSVhsv(70, 60%, 95%)
CMYKcmyk(9.9%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.37, -27.13, 65.07)
CIE-LCHlch(91.37, 70.50, 112.64°)
OKLaboklab(91.62% -0.0791 0.1497)
OKLCHoklch(91.62% 0.169 117.9)
XYZxyz(62.8712, 79.2921, 23.5457)
Luminance0.7929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DAF262 #7A62F2
analogous
#F2C262 #DAF262 #92F262
triadic
#DAF262 #62DAF2 #F262DA
tetradic
#DAF262 #62F2C2 #7A62F2 #F26292
square
#DAF262 #62F2C2 #7A62F2 #F26292
split-complementary
#DAF262 #6292F2 #C262F2
monochromatic
#AAC911 #CDED29 #DAF262 #E7F79B #F5FBD3

Accessibility & contrast

On white

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

On black

16.86
#DAF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DAF262
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DAF262#FFFFFF#000000##000000
##DAF2621.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FEE76B
Tritanopia (blue-blind)
#E6E6D3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #daf262;
/* rgb */ color: rgb(218, 242, 98);
/* oklch */ color: oklch(91.6% 0.169 117.9);
Tailwind
colors: {
  custom: {
    50: '#e8f694',
    500: '#daf262',
    950: '#000000',
  },
}
SCSS
$custom: #daf262;
$custom-light: #e8f694;
$custom-dark: #000000;
JSON
{
  "hex": "#daf262",
  "rgb": {
    "r": 218,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 70,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.91622,
    "c": 0.1693,
    "h": 117.9
  },
  "luminance": 0.79292
}

Semantic roles & 50–950 ramp

primary
#DAF262
secondary
#4B33C6
accent
#04E129
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #DAF262

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

Preview Lab → · Contrast checker → · Palette generator →

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