#AFE95B#AFE95B

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

Color values

HEX#AFE95B
RGBrgb(175, 233, 91)
HSLhsl(85, 76%, 64%)
HSVhsv(85, 61%, 91%)
CMYKcmyk(24.9%, 0%, 60.9%, 8.6%)
CIE-LABlab(86.08, -39.88, 61.40)
CIE-LCHlch(86.08, 73.22, 123.00°)
OKLaboklab(86.64% -0.1127 0.1418)
OKLCHoklch(86.64% 0.181 128.5)
XYZxyz(48.7063, 68.1461, 20.4829)
Luminance0.6815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE95B #955BE9
analogous
#E9DC5B #AFE95B #68E95B
triadic
#AFE95B #5BAFE9 #E95BAF
tetradic
#AFE95B #5BE9DC #955BE9 #E95B68
square
#AFE95B #5BE9DC #955BE9 #E95B68
split-complementary
#AFE95B #5B68E9 #DC5BE9
monochromatic
#73B218 #95E225 #AFE95B #C9F091 #E4F7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE95B#FFFFFF#000000##000000
##AFE95B1.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)
#F4DA4A
Deuteranopia (green-blind)
#ECD665
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe95b;
/* rgb */ color: rgb(175, 233, 91);
/* oklch */ color: oklch(86.6% 0.181 128.5);
Tailwind
colors: {
  custom: {
    50: '#caf08f',
    500: '#afe95b',
    950: '#000000',
  },
}
SCSS
$custom: #afe95b;
$custom-light: #caf08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe95b",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 91
  },
  "hsl": {
    "h": 84.507,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86638,
    "c": 0.18114,
    "h": 128.5
  },
  "luminance": 0.68147
}

Semantic roles & 50–950 ramp

primary
#AFE95B
secondary
#6936B2
accent
#0DD960
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE95B

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

Preview Lab → · Contrast checker → · Palette generator →

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