#AFE95F#AFE95F

#AFE95F is a very light, vivid yellow-green. Relative luminance 0.682; OKLCH L 86.7% C 0.178 H 128.8°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#AFE95F
RGBrgb(175, 233, 95)
HSLhsl(85, 76%, 64%)
HSVhsv(85, 59%, 91%)
CMYKcmyk(24.9%, 0%, 59.2%, 8.6%)
CIE-LABlab(86.11, -39.55, 59.75)
CIE-LCHlch(86.11, 71.65, 123.50°)
OKLaboklab(86.68% -0.1115 0.1387)
OKLCHoklch(86.68% 0.178 128.8)
XYZxyz(48.8834, 68.2170, 21.4160)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE95F #995FE9
analogous
#E9DE5F #AFE95F #6AE95F
triadic
#AFE95F #5FAFE9 #E95FAF
tetradic
#AFE95F #5FE9DE #995FE9 #E95F6A
square
#AFE95F #5FE9DE #995FE9 #E95F6A
split-complementary
#AFE95F #5F6AE9 #DE5FE9
monochromatic
#73B519 #94E229 #AFE95F #CAF095 #E5F8CB

Accessibility & contrast

On white

1.43
#AFE95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#AFE95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE95F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE95F#FFFFFF#000000##000000
##AFE95F1.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA50
Deuteranopia (green-blind)
#EBD669
Tritanopia (blue-blind)
#B4E0CB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe95f;
/* rgb */ color: rgb(175, 233, 95);
/* oklch */ color: oklch(86.7% 0.178 128.8);
Tailwind
colors: {
  custom: {
    50: '#caf091',
    500: '#afe95f',
    950: '#000000',
  },
}
SCSS
$custom: #afe95f;
$custom-light: #caf091;
$custom-dark: #000000;
JSON
{
  "hex": "#afe95f",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 95
  },
  "hsl": {
    "h": 85.217,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86678,
    "c": 0.17795,
    "h": 128.8
  },
  "luminance": 0.68218
}

Semantic roles & 50–950 ramp

primary
#AFE95F
secondary
#6C37B5
accent
#0DD863
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE95F

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

Preview Lab → · Contrast checker → · Palette generator →

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