#AFE492#AFE492

#AFE492 is a very light, vivid yellow-green. Relative luminance 0.667; OKLCH L 86.3% C 0.122 H 135.0°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#AFE492
RGBrgb(175, 228, 146)
HSLhsl(99, 60%, 73%)
HSVhsv(99, 36%, 89%)
CMYKcmyk(23.2%, 0%, 36%, 10.6%)
CIE-LABlab(85.34, -31.55, 34.67)
CIE-LCHlch(85.34, 46.87, 132.30°)
OKLaboklab(86.26% -0.0861 0.086)
OKLCHoklch(86.26% 0.122 135)
XYZxyz(50.6097, 66.6748, 37.3916)
Luminance0.6668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE492 #C792E4
analogous
#D8E492 #AFE492 #92E49E
triadic
#AFE492 #92AFE4 #E492AF
tetradic
#AFE492 #92D8E4 #C792E4 #E49E92
square
#AFE492 #92D8E4 #C792E4 #E49E92
split-complementary
#AFE492 #9E92E4 #E492D8
monochromatic
#68CA32 #8BD861 #AFE492 #D3F0C3 #EDF9E6

Accessibility & contrast

On white

1.46
#AFE492 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#AFE492 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE492
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE492#FFFFFF#000000##000000
##AFE4921.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD88C
Deuteranopia (green-blind)
#E2D496
Tritanopia (blue-blind)
#AFDECF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #afe492;
/* rgb */ color: rgb(175, 228, 146);
/* oklch */ color: oklch(86.3% 0.122 135.0);
Tailwind
colors: {
  custom: {
    50: '#c8ecb2',
    500: '#afe492',
    950: '#000000',
  },
}
SCSS
$custom: #afe492;
$custom-light: #c8ecb2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe492",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 146
  },
  "hsl": {
    "h": 98.78,
    "s": 60.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.86256,
    "c": 0.12176,
    "h": 135
  },
  "luminance": 0.66676
}

Semantic roles & 50–950 ramp

primary
#AFE492
secondary
#9B5DBD
accent
#1EC88C
background
#FDFEFD
surface
#F9FDF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFE492

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

Preview Lab → · Contrast checker → · Palette generator →

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