#AFE94F#AFE94F

#AFE94F is a very light, vivid yellow-green. Relative luminance 0.680; OKLCH L 86.5% C 0.190 H 127.7°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#AFE94F
RGBrgb(175, 233, 79)
HSLhsl(83, 78%, 61%)
HSVhsv(83, 66%, 91%)
CMYKcmyk(24.9%, 0%, 66.1%, 8.6%)
CIE-LABlab(85.98, -40.78, 66.13)
CIE-LCHlch(85.98, 77.69, 121.66°)
OKLaboklab(86.53% -0.1162 0.1503)
OKLCHoklch(86.53% 0.19 127.7)
XYZxyz(48.2294, 67.9553, 17.9713)
Luminance0.6796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE94F #894FE9
analogous
#E9D64F #AFE94F #62E94F
triadic
#AFE94F #4FAFE9 #E94FAF
tetradic
#AFE94F #4FE9D6 #894FE9 #E94F62
square
#AFE94F #4FE9D6 #894FE9 #E94F62
split-complementary
#AFE94F #4F62E9 #D64FE9
monochromatic
#71A915 #95DF1C #AFE94F #C8F085 #E0F7BC

Accessibility & contrast

On white

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

On black

14.59
#AFE94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE94F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE94F#FFFFFF#000000##000000
##AFE94F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA39
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#B5DFCA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe94f;
/* rgb */ color: rgb(175, 233, 79);
/* oklch */ color: oklch(86.5% 0.190 127.7);
Tailwind
colors: {
  custom: {
    50: '#cbf088',
    500: '#afe94f',
    950: '#000000',
  },
}
SCSS
$custom: #afe94f;
$custom-light: #cbf088;
$custom-dark: #000000;
JSON
{
  "hex": "#afe94f",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 79
  },
  "hsl": {
    "h": 82.597,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8653,
    "c": 0.18996,
    "h": 127.7
  },
  "luminance": 0.67956
}

Semantic roles & 50–950 ramp

primary
#AFE94F
secondary
#5F32AA
accent
#0BDA59
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE94F

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

Preview Lab → · Contrast checker → · Palette generator →

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