#AFE75C#AFE75C

#AFE75C is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.2% C 0.178 H 128.2°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#AFE75C
RGBrgb(175, 231, 92)
HSLhsl(84, 74%, 63%)
HSVhsv(84, 60%, 91%)
CMYKcmyk(24.2%, 0%, 60.2%, 9.4%)
CIE-LABlab(85.52, -38.91, 60.37)
CIE-LCHlch(85.52, 71.82, 122.81°)
OKLaboklab(86.19% -0.11 0.1397)
OKLCHoklch(86.19% 0.178 128.2)
XYZxyz(48.1867, 67.0375, 20.5239)
Luminance0.6704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE75C #945CE7
analogous
#E7DA5C #AFE75C #69E75C
triadic
#AFE75C #5CAFE7 #E75CAF
tetradic
#AFE75C #5CE7DA #945CE7 #E75C69
square
#AFE75C #5CE7DA #945CE7 #E75C69
split-complementary
#AFE75C #5C69E7 #DA5CE7
monochromatic
#73AF1A #95DF27 #AFE75C #C9EF91 #E3F7C7

Accessibility & contrast

On white

1.46
#AFE75C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#AFE75C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE75C
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE75C#FFFFFF#000000##000000
##AFE75C1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D84C
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#B4DDC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe75c;
/* rgb */ color: rgb(175, 231, 92);
/* oklch */ color: oklch(86.2% 0.178 128.2);
Tailwind
colors: {
  custom: {
    50: '#caef8f',
    500: '#afe75c',
    950: '#000000',
  },
}
SCSS
$custom: #afe75c;
$custom-light: #caef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe75c",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 92
  },
  "hsl": {
    "h": 84.173,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8619,
    "c": 0.17778,
    "h": 128.2
  },
  "luminance": 0.67038
}

Semantic roles & 50–950 ramp

primary
#AFE75C
secondary
#6837B0
accent
#0FD65F
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE75C

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

Preview Lab → · Contrast checker → · Palette generator →

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