#AFE75B#AFE75B

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

Color values

HEX#AFE75B
RGBrgb(175, 231, 91)
HSLhsl(84, 74%, 63%)
HSVhsv(84, 61%, 91%)
CMYKcmyk(24.2%, 0%, 60.6%, 9.4%)
CIE-LABlab(85.51, -38.99, 60.78)
CIE-LCHlch(85.51, 72.21, 122.68°)
OKLaboklab(86.18% -0.1103 0.1405)
OKLCHoklch(86.18% 0.179 128.1)
XYZxyz(48.1433, 67.0202, 20.2952)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE75B #935BE7
analogous
#E7D95B #AFE75B #69E75B
triadic
#AFE75B #5BAFE7 #E75BAF
tetradic
#AFE75B #5BE7D9 #935BE7 #E75B69
square
#AFE75B #5BE7D9 #935BE7 #E75B69
split-complementary
#AFE75B #5B69E7 #D95BE7
monochromatic
#73AE19 #95DF26 #AFE75B #C9EF90 #E3F7C6

Accessibility & contrast

On white

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

On black

14.40
#AFE75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE75B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE75B#FFFFFF#000000##000000
##AFE75B1.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe75b;
/* rgb */ color: rgb(175, 231, 91);
/* oklch */ color: oklch(86.2% 0.179 128.1);
Tailwind
colors: {
  custom: {
    50: '#caef8f',
    500: '#afe75b',
    950: '#000000',
  },
}
SCSS
$custom: #afe75b;
$custom-light: #caef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe75b",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 91
  },
  "hsl": {
    "h": 84,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.17857,
    "h": 128.1
  },
  "luminance": 0.67021
}

Semantic roles & 50–950 ramp

primary
#AFE75B
secondary
#6737AF
accent
#0FD75F
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE75B

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

Preview Lab → · Contrast checker → · Palette generator →

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