#AFE764#AFE764

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

Color values

HEX#AFE764
RGBrgb(175, 231, 100)
HSLhsl(86, 73%, 65%)
HSVhsv(86, 57%, 91%)
CMYKcmyk(24.2%, 0%, 56.7%, 9.4%)
CIE-LABlab(85.60, -38.22, 56.99)
CIE-LCHlch(85.60, 68.62, 123.85°)
OKLaboklab(86.27% -0.1074 0.1333)
OKLCHoklch(86.27% 0.171 128.9)
XYZxyz(48.5551, 67.1849, 22.4639)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE764 #9C64E7
analogous
#E7DE64 #AFE764 #6EE764
triadic
#AFE764 #64AFE7 #E764AF
tetradic
#AFE764 #64E7DE #9C64E7 #E7646E
square
#AFE764 #64E7DE #9C64E7 #E7646E
split-complementary
#AFE764 #646EE7 #DE64E7
monochromatic
#73B51C #94DF2F #AFE764 #CAEF99 #E6F7CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE764#FFFFFF#000000##000000
##AFE7641.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)
#F1D856
Deuteranopia (green-blind)
#E9D56D
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe764;
/* rgb */ color: rgb(175, 231, 100);
/* oklch */ color: oklch(86.3% 0.171 128.9);
Tailwind
colors: {
  custom: {
    50: '#caef94',
    500: '#afe764',
    950: '#000000',
  },
}
SCSS
$custom: #afe764;
$custom-light: #caef94;
$custom-dark: #000000;
JSON
{
  "hex": "#afe764",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 100
  },
  "hsl": {
    "h": 85.649,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86274,
    "c": 0.17118,
    "h": 128.9
  },
  "luminance": 0.67186
}

Semantic roles & 50–950 ramp

primary
#AFE764
secondary
#6F3AB5
accent
#10D564
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#13160D
muted
#83857F

Preview Lab

Preview with #AFE764

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

Preview Lab → · Contrast checker → · Palette generator →

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