#AFE762#AFE762

#AFE762 is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.3% C 0.173 H 128.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#AFE762
RGBrgb(175, 231, 98)
HSLhsl(85, 73%, 65%)
HSVhsv(85, 58%, 91%)
CMYKcmyk(24.2%, 0%, 57.6%, 9.4%)
CIE-LABlab(85.58, -38.40, 57.85)
CIE-LCHlch(85.58, 69.43, 123.58°)
OKLaboklab(86.25% -0.108 0.1349)
OKLCHoklch(86.25% 0.173 128.7)
XYZxyz(48.4595, 67.1466, 21.9604)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE762 #9A62E7
analogous
#E7DD62 #AFE762 #6DE762
triadic
#AFE762 #62AFE7 #E762AF
tetradic
#AFE762 #62E7DD #9A62E7 #E7626D
square
#AFE762 #62E7DD #9A62E7 #E7626D
split-complementary
#AFE762 #626DE7 #DD62E7
monochromatic
#73B31B #94DF2D #AFE762 #CAEF97 #E5F7CC

Accessibility & contrast

On white

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

On black

14.43
#AFE762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE762
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE762#FFFFFF#000000##000000
##AFE7621.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe762;
/* rgb */ color: rgb(175, 231, 98);
/* oklch */ color: oklch(86.3% 0.173 128.7);
Tailwind
colors: {
  custom: {
    50: '#caef93',
    500: '#afe762',
    950: '#000000',
  },
}
SCSS
$custom: #afe762;
$custom-light: #caef93;
$custom-dark: #000000;
JSON
{
  "hex": "#afe762",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 85.263,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86252,
    "c": 0.17287,
    "h": 128.7
  },
  "luminance": 0.67148
}

Semantic roles & 50–950 ramp

primary
#AFE762
secondary
#6D3AB4
accent
#10D663
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE762

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

Preview Lab → · Contrast checker → · Palette generator →

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