#AFE299#AFE299

#AFE299 is a very light, moderate green. Relative luminance 0.658; OKLCH L 85.9% C 0.111 H 136.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#AFE299
RGBrgb(175, 226, 153)
HSLhsl(102, 56%, 74%)
HSVhsv(102, 32%, 89%)
CMYKcmyk(22.6%, 0%, 32.3%, 11.4%)
CIE-LABlab(84.90, -29.60, 30.52)
CIE-LCHlch(84.90, 42.52, 134.12°)
OKLaboklab(85.94% -0.0806 0.0764)
OKLCHoklch(85.94% 0.111 136.5)
XYZxyz(50.6239, 65.8053, 40.1653)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE299 #CC99E2
analogous
#D4E299 #AFE299 #99E2A8
triadic
#AFE299 #99AFE2 #E299AF
tetradic
#AFE299 #99D4E2 #CC99E2 #E2A899
square
#AFE299 #99D4E2 #CC99E2 #E2A899
split-complementary
#AFE299 #A899E2 #E299D4
monochromatic
#64C73A #8AD469 #AFE299 #D4F0C9 #ECF8E7

Accessibility & contrast

On white

1.48
#AFE299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#AFE299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE299
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE299#FFFFFF#000000##000000
##AFE2991.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D794
Deuteranopia (green-blind)
#DFD29D
Tritanopia (blue-blind)
#AEDDCF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe299;
/* rgb */ color: rgb(175, 226, 153);
/* oklch */ color: oklch(85.9% 0.111 136.5);
Tailwind
colors: {
  custom: {
    50: '#c8ebb7',
    500: '#afe299',
    950: '#000000',
  },
}
SCSS
$custom: #afe299;
$custom-light: #c8ebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#afe299",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 153
  },
  "hsl": {
    "h": 101.918,
    "s": 55.725,
    "l": 74.314
  },
  "oklch": {
    "l": 0.85937,
    "c": 0.1111,
    "h": 136.5
  },
  "luminance": 0.65807
}

Semantic roles & 50–950 ramp

primary
#AFE299
secondary
#A164BB
accent
#22C393
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE299

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

Preview Lab → · Contrast checker → · Palette generator →

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