#AFE95C#AFE95C

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

Color values

HEX#AFE95C
RGBrgb(175, 233, 92)
HSLhsl(85, 76%, 64%)
HSVhsv(85, 61%, 91%)
CMYKcmyk(24.9%, 0%, 60.5%, 8.6%)
CIE-LABlab(86.09, -39.80, 60.99)
CIE-LCHlch(86.09, 72.83, 123.13°)
OKLaboklab(86.65% -0.1124 0.141)
OKLCHoklch(86.65% 0.18 128.6)
XYZxyz(48.7497, 68.1635, 20.7116)
Luminance0.6816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE95C #965CE9
analogous
#E9DC5C #AFE95C #68E95C
triadic
#AFE95C #5CAFE9 #E95CAF
tetradic
#AFE95C #5CE9DC #965CE9 #E95C68
square
#AFE95C #5CE9DC #965CE9 #E95C68
split-complementary
#AFE95C #5C68E9 #DC5CE9
monochromatic
#73B318 #95E226 #AFE95C #C9F092 #E4F8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE95C#FFFFFF#000000##000000
##AFE95C1.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)
#F4DA4C
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe95c;
/* rgb */ color: rgb(175, 233, 92);
/* oklch */ color: oklch(86.6% 0.180 128.6);
Tailwind
colors: {
  custom: {
    50: '#caf08f',
    500: '#afe95c',
    950: '#000000',
  },
}
SCSS
$custom: #afe95c;
$custom-light: #caf08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe95c",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 92
  },
  "hsl": {
    "h": 84.681,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86648,
    "c": 0.18035,
    "h": 128.6
  },
  "luminance": 0.68164
}

Semantic roles & 50–950 ramp

primary
#AFE95C
secondary
#6A36B3
accent
#0DD861
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE95C

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

Preview Lab → · Contrast checker → · Palette generator →

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