#AFE75F#AFE75F

#AFE75F is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.2% C 0.175 H 128.4°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#AFE75F
RGBrgb(175, 231, 95)
HSLhsl(85, 74%, 64%)
HSVhsv(85, 59%, 91%)
CMYKcmyk(24.2%, 0%, 58.9%, 9.4%)
CIE-LABlab(85.55, -38.66, 59.12)
CIE-LCHlch(85.55, 70.63, 123.18°)
OKLaboklab(86.22% -0.109 0.1374)
OKLCHoklch(86.22% 0.175 128.4)
XYZxyz(48.3205, 67.0910, 21.2283)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE75F #975FE7
analogous
#E7DB5F #AFE75F #6BE75F
triadic
#AFE75F #5FAFE7 #E75FAF
tetradic
#AFE75F #5FE7DB #975FE7 #E75F6B
square
#AFE75F #5FE7DB #975FE7 #E75F6B
split-complementary
#AFE75F #5F6BE7 #DB5FE7
monochromatic
#73B11B #94DF2A #AFE75F #CAEF94 #E4F7C9

Accessibility & contrast

On white

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

On black

14.42
#AFE75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE75F
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE75F#FFFFFF#000000##000000
##AFE75F1.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D850
Deuteranopia (green-blind)
#EAD569
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe75f;
/* rgb */ color: rgb(175, 231, 95);
/* oklch */ color: oklch(86.2% 0.175 128.4);
Tailwind
colors: {
  custom: {
    50: '#caef91',
    500: '#afe75f',
    950: '#000000',
  },
}
SCSS
$custom: #afe75f;
$custom-light: #caef91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe75f",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 95
  },
  "hsl": {
    "h": 84.706,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8622,
    "c": 0.17536,
    "h": 128.4
  },
  "luminance": 0.67092
}

Semantic roles & 50–950 ramp

primary
#AFE75F
secondary
#6A39B2
accent
#0FD661
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE75F

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

Preview Lab → · Contrast checker → · Palette generator →

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