#AFE892#AFE892

#AFE892 is a very light, vivid yellow-green. Relative luminance 0.689; OKLCH L 87.2% C 0.128 H 135.6°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#AFE892
RGBrgb(175, 232, 146)
HSLhsl(100, 65%, 74%)
HSVhsv(100, 37%, 91%)
CMYKcmyk(24.6%, 0%, 37.1%, 9%)
CIE-LABlab(86.46, -33.41, 36.13)
CIE-LCHlch(86.46, 49.21, 132.76°)
OKLaboklab(87.16% -0.0913 0.0895)
OKLCHoklch(87.16% 0.128 135.6)
XYZxyz(51.7228, 68.9011, 37.7627)
Luminance0.6890 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE892 #CB92E8
analogous
#DAE892 #AFE892 #92E8A0
triadic
#AFE892 #92AFE8 #E892AF
tetradic
#AFE892 #92DAE8 #CB92E8 #E8A092
square
#AFE892 #92DAE8 #CB92E8 #E8A092
split-complementary
#AFE892 #A092E8 #E892DA
monochromatic
#65D32D #8ADD5F #AFE892 #D4F3C5 #ECFAE6

Accessibility & contrast

On white

1.42
#AFE892 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.78
#AFE892 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE892
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE892#FFFFFF#000000##000000
##AFE8921.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC8C
Deuteranopia (green-blind)
#E5D797
Tritanopia (blue-blind)
#AEE2D2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe892;
/* rgb */ color: rgb(175, 232, 146);
/* oklch */ color: oklch(87.2% 0.128 135.6);
Tailwind
colors: {
  custom: {
    50: '#c8efb3',
    500: '#afe892',
    950: '#000000',
  },
}
SCSS
$custom: #afe892;
$custom-light: #c8efb3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe892",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 146
  },
  "hsl": {
    "h": 99.767,
    "s": 65.152,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87155,
    "c": 0.12781,
    "h": 135.6
  },
  "luminance": 0.68903
}

Semantic roles & 50–950 ramp

primary
#AFE892
secondary
#A05CC2
accent
#19CD90
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE892

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

Preview Lab → · Contrast checker → · Palette generator →

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