#AFE292#AFE292

#AFE292 is a very light, moderate yellow-green. Relative luminance 0.656; OKLCH L 85.8% C 0.119 H 134.7°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#AFE292
RGBrgb(175, 226, 146)
HSLhsl(98, 58%, 73%)
HSVhsv(98, 35%, 89%)
CMYKcmyk(22.6%, 0%, 35.4%, 11.4%)
CIE-LABlab(84.78, -30.61, 33.93)
CIE-LCHlch(84.78, 45.70, 132.05°)
OKLaboklab(85.81% -0.0835 0.0843)
OKLCHoklch(85.81% 0.119 134.7)
XYZxyz(50.0627, 65.5808, 37.2093)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE292 #C592E2
analogous
#D7E292 #AFE292 #92E29D
triadic
#AFE292 #92AFE2 #E292AF
tetradic
#AFE292 #92D7E2 #C592E2 #E29D92
square
#AFE292 #92D7E2 #C592E2 #E29D92
split-complementary
#AFE292 #9D92E2 #E292D7
monochromatic
#69C534 #8CD562 #AFE292 #D2EFC2 #EDF9E7

Accessibility & contrast

On white

1.49
#AFE292 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#AFE292 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE292
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE292#FFFFFF#000000##000000
##AFE2921.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D68C
Deuteranopia (green-blind)
#E0D296
Tritanopia (blue-blind)
#AFDCCE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe292;
/* rgb */ color: rgb(175, 226, 146);
/* oklch */ color: oklch(85.8% 0.119 134.7);
Tailwind
colors: {
  custom: {
    50: '#c8ebb2',
    500: '#afe292',
    950: '#000000',
  },
}
SCSS
$custom: #afe292;
$custom-light: #c8ebb2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe292",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 146
  },
  "hsl": {
    "h": 98.25,
    "s": 57.971,
    "l": 72.941
  },
  "oklch": {
    "l": 0.85807,
    "c": 0.1187,
    "h": 134.7
  },
  "luminance": 0.65582
}

Semantic roles & 50–950 ramp

primary
#AFE292
secondary
#995DBB
accent
#20C68A
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE292

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

Preview Lab → · Contrast checker → · Palette generator →

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