#AFE767#AFE767

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

Color values

HEX#AFE767
RGBrgb(175, 231, 103)
HSLhsl(86, 73%, 65%)
HSVhsv(86, 55%, 91%)
CMYKcmyk(24.2%, 0%, 55.4%, 9.4%)
CIE-LABlab(85.63, -37.94, 55.69)
CIE-LCHlch(85.63, 67.39, 124.27°)
OKLaboklab(86.31% -0.1064 0.1308)
OKLCHoklch(86.31% 0.169 129.1)
XYZxyz(48.7030, 67.2440, 23.2428)
Luminance0.6724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE767 #9F67E7
analogous
#E7DF67 #AFE767 #6FE767
triadic
#AFE767 #67AFE7 #E767AF
tetradic
#AFE767 #67E7DF #9F67E7 #E7676F
square
#AFE767 #67E7DF #9F67E7 #E7676F
split-complementary
#AFE767 #676FE7 #DF67E7
monochromatic
#73B71D #93DF32 #AFE767 #CBEF9C #E7F8D1

Accessibility & contrast

On white

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

On black

14.45
#AFE767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE767
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE767#FFFFFF#000000##000000
##AFE7671.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95A
Deuteranopia (green-blind)
#E9D570
Tritanopia (blue-blind)
#B3DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe767;
/* rgb */ color: rgb(175, 231, 103);
/* oklch */ color: oklch(86.3% 0.169 129.1);
Tailwind
colors: {
  custom: {
    50: '#caef96',
    500: '#afe767',
    950: '#000000',
  },
}
SCSS
$custom: #afe767;
$custom-light: #caef96;
$custom-dark: #000000;
JSON
{
  "hex": "#afe767",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 103
  },
  "hsl": {
    "h": 86.25,
    "s": 72.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86308,
    "c": 0.16859,
    "h": 129.1
  },
  "luminance": 0.67245
}

Semantic roles & 50–950 ramp

primary
#AFE767
secondary
#713BB7
accent
#11D566
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE767

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

Preview Lab → · Contrast checker → · Palette generator →

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