#AFE95D#AFE95D

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

Color values

HEX#AFE95D
RGBrgb(175, 233, 93)
HSLhsl(85, 76%, 64%)
HSVhsv(85, 60%, 91%)
CMYKcmyk(24.9%, 0%, 60.1%, 8.6%)
CIE-LABlab(86.10, -39.72, 60.58)
CIE-LCHlch(86.10, 72.44, 123.25°)
OKLaboklab(86.66% -0.1121 0.1403)
OKLCHoklch(86.66% 0.18 128.6)
XYZxyz(48.7937, 68.1811, 20.9433)
Luminance0.6818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE95D #975DE9
analogous
#E9DD5D #AFE95D #69E95D
triadic
#AFE95D #5DAFE9 #E95DAF
tetradic
#AFE95D #5DE9DD #975DE9 #E95D69
square
#AFE95D #5DE9DD #975DE9 #E95D69
split-complementary
#AFE95D #5D69E9 #DD5DE9
monochromatic
#73B318 #94E227 #AFE95D #CAF093 #E4F8C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE95D#FFFFFF#000000##000000
##AFE95D1.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)
#F4DA4D
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe95d;
/* rgb */ color: rgb(175, 233, 93);
/* oklch */ color: oklch(86.7% 0.180 128.6);
Tailwind
colors: {
  custom: {
    50: '#caf090',
    500: '#afe95d',
    950: '#000000',
  },
}
SCSS
$custom: #afe95d;
$custom-light: #caf090;
$custom-dark: #000000;
JSON
{
  "hex": "#afe95d",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 93
  },
  "hsl": {
    "h": 84.857,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86658,
    "c": 0.17955,
    "h": 128.6
  },
  "luminance": 0.68182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFE95D

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

Preview Lab → · Contrast checker → · Palette generator →

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