#AFE592#AFE592

#AFE592 is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.5% C 0.123 H 135.2°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#AFE592
RGBrgb(175, 229, 146)
HSLhsl(99, 61%, 74%)
HSVhsv(99, 36%, 90%)
CMYKcmyk(23.6%, 0%, 36.2%, 10.2%)
CIE-LABlab(85.62, -32.01, 35.03)
CIE-LCHlch(85.62, 47.46, 132.42°)
OKLaboklab(86.48% -0.0874 0.0869)
OKLCHoklch(86.48% 0.123 135.2)
XYZxyz(50.8856, 67.2266, 37.4836)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE592 #C892E5
analogous
#D8E592 #AFE592 #92E59E
triadic
#AFE592 #92AFE5 #E592AF
tetradic
#AFE592 #92D8E5 #C892E5 #E59E92
square
#AFE592 #92D8E5 #C892E5 #E59E92
split-complementary
#AFE592 #9E92E5 #E592D8
monochromatic
#67CC31 #8BD961 #AFE592 #D3F1C3 #EDF9E6

Accessibility & contrast

On white

1.45
#AFE592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#AFE592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE592
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE592#FFFFFF#000000##000000
##AFE5921.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD98C
Deuteranopia (green-blind)
#E3D496
Tritanopia (blue-blind)
#AFDFD0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe592;
/* rgb */ color: rgb(175, 229, 146);
/* oklch */ color: oklch(86.5% 0.123 135.2);
Tailwind
colors: {
  custom: {
    50: '#c8edb3',
    500: '#afe592',
    950: '#000000',
  },
}
SCSS
$custom: #afe592;
$custom-light: #c8edb3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe592",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 146
  },
  "hsl": {
    "h": 99.036,
    "s": 61.481,
    "l": 73.529
  },
  "oklch": {
    "l": 0.8648,
    "c": 0.12328,
    "h": 135.2
  },
  "luminance": 0.67228
}

Semantic roles & 50–950 ramp

primary
#AFE592
secondary
#9C5DBE
accent
#1CC98D
background
#FDFFFD
surface
#F9FEF8
border
#D2D6D1
text
#131611
muted
#828581

Preview Lab

Preview with #AFE592

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

Preview Lab → · Contrast checker → · Palette generator →

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