#AFE95A#AFE95A

#AFE95A is a very light, vivid yellow-green. Relative luminance 0.681; OKLCH L 86.6% C 0.182 H 128.4°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#AFE95A
RGBrgb(175, 233, 90)
HSLhsl(84, 76%, 63%)
HSVhsv(84, 61%, 91%)
CMYKcmyk(24.9%, 0%, 61.4%, 8.6%)
CIE-LABlab(86.07, -39.96, 61.81)
CIE-LCHlch(86.07, 73.60, 122.88°)
OKLaboklab(86.63% -0.113 0.1425)
OKLCHoklch(86.63% 0.182 128.4)
XYZxyz(48.6634, 68.1289, 20.2572)
Luminance0.6813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE95A #945AE9
analogous
#E9DC5A #AFE95A #67E95A
triadic
#AFE95A #5AAFE9 #E95AAF
tetradic
#AFE95A #5AE9DC #945AE9 #E95A67
square
#AFE95A #5AE9DC #945AE9 #E95A67
split-complementary
#AFE95A #5A67E9 #DC5AE9
monochromatic
#73B118 #95E224 #AFE95A #C9F090 #E3F7C6

Accessibility & contrast

On white

1.44
#AFE95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#AFE95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE95A
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE95A#FFFFFF#000000##000000
##AFE95A1.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA49
Deuteranopia (green-blind)
#ECD665
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe95a;
/* rgb */ color: rgb(175, 233, 90);
/* oklch */ color: oklch(86.6% 0.182 128.4);
Tailwind
colors: {
  custom: {
    50: '#caf08e',
    500: '#afe95a',
    950: '#000000',
  },
}
SCSS
$custom: #afe95a;
$custom-light: #caf08e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe95a",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 90
  },
  "hsl": {
    "h": 84.336,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86628,
    "c": 0.18192,
    "h": 128.4
  },
  "luminance": 0.6813
}

Semantic roles & 50–950 ramp

primary
#AFE95A
secondary
#6836B1
accent
#0DD960
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE95A

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

Preview Lab → · Contrast checker → · Palette generator →

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