#AFE765#AFE765

#AFE765 is a very light, vivid yellow-green. Relative luminance 0.672; OKLCH L 86.3% C 0.170 H 128.9°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#AFE765
RGBrgb(175, 231, 101)
HSLhsl(86, 73%, 65%)
HSVhsv(86, 56%, 91%)
CMYKcmyk(24.2%, 0%, 56.3%, 9.4%)
CIE-LABlab(85.61, -38.13, 56.56)
CIE-LCHlch(85.61, 68.21, 123.98°)
OKLaboklab(86.29% -0.107 0.1325)
OKLCHoklch(86.29% 0.17 128.9)
XYZxyz(48.6038, 67.2044, 22.7204)
Luminance0.6721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE765 #9D65E7
analogous
#E7DE65 #AFE765 #6EE765
triadic
#AFE765 #65AFE7 #E765AF
tetradic
#AFE765 #65E7DE #9D65E7 #E7656E
square
#AFE765 #65E7DE #9D65E7 #E7656E
split-complementary
#AFE765 #656EE7 #DE65E7
monochromatic
#73B51C #93DF30 #AFE765 #CBEF9A #E6F8CF

Accessibility & contrast

On white

1.45
#AFE765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#AFE765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE765
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE765#FFFFFF#000000##000000
##AFE7651.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D958
Deuteranopia (green-blind)
#E9D56E
Tritanopia (blue-blind)
#B4DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe765;
/* rgb */ color: rgb(175, 231, 101);
/* oklch */ color: oklch(86.3% 0.170 128.9);
Tailwind
colors: {
  custom: {
    50: '#caef95',
    500: '#afe765',
    950: '#000000',
  },
}
SCSS
$custom: #afe765;
$custom-light: #caef95;
$custom-dark: #000000;
JSON
{
  "hex": "#afe765",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 101
  },
  "hsl": {
    "h": 85.846,
    "s": 73.034,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86285,
    "c": 0.17032,
    "h": 128.9
  },
  "luminance": 0.67205
}

Semantic roles & 50–950 ramp

primary
#AFE765
secondary
#703BB5
accent
#10D565
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160D
muted
#83857F

Preview Lab

Preview with #AFE765

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

Preview Lab → · Contrast checker → · Palette generator →

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