#AFF298#AFF298

#AFF298 is a very light, vivid green. Relative luminance 0.749; OKLCH L 89.5% C 0.137 H 138.0°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#AFF298
RGBrgb(175, 242, 152)
HSLhsl(105, 78%, 77%)
HSVhsv(105, 37%, 95%)
CMYKcmyk(27.7%, 0%, 37.2%, 5.1%)
CIE-LABlab(89.34, -37.14, 36.90)
CIE-LCHlch(89.34, 52.36, 135.19°)
OKLaboklab(89.51% -0.1014 0.0914)
OKLCHoklch(89.51% 0.137 138)
XYZxyz(55.0972, 74.8833, 41.2506)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF298 #DB98F2
analogous
#DCF298 #AFF298 #98F2AE
triadic
#AFF298 #98AFF2 #F298AF
tetradic
#AFF298 #98DCF2 #DB98F2 #F2AE98
square
#AFF298 #98DCF2 #DB98F2 #F2AE98
split-complementary
#AFF298 #AE98F2 #F298DC
monochromatic
#5BE42B #85EB62 #AFF298 #D9F9CE #EAFCE4

Accessibility & contrast

On white

1.31
#AFF298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#AFF298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF298
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF298#FFFFFF#000000##000000
##AFF2981.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E492
Deuteranopia (green-blind)
#EDDE9D
Tritanopia (blue-blind)
#ACECDB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #aff298;
/* rgb */ color: rgb(175, 242, 152);
/* oklch */ color: oklch(89.5% 0.137 138.0);
Tailwind
colors: {
  custom: {
    50: '#c9f6b7',
    500: '#aff298',
    950: '#000000',
  },
}
SCSS
$custom: #aff298;
$custom-light: #c9f6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aff298",
  "rgb": {
    "r": 175,
    "g": 242,
    "b": 152
  },
  "hsl": {
    "h": 104.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.89512,
    "c": 0.13657,
    "h": 138
  },
  "luminance": 0.74885
}

Semantic roles & 50–950 ramp

primary
#AFF298
secondary
#B35FD0
accent
#0CDAA5
background
#FEFFFD
surface
#FAFEF8
border
#D3D6D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFF298

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

Preview Lab → · Contrast checker → · Palette generator →

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