#AFE768#AFE768

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

Color values

HEX#AFE768
RGBrgb(175, 231, 104)
HSLhsl(86, 73%, 66%)
HSVhsv(86, 55%, 91%)
CMYKcmyk(24.2%, 0%, 55%, 9.4%)
CIE-LABlab(85.64, -37.85, 55.25)
CIE-LCHlch(85.64, 66.97, 124.41°)
OKLaboklab(86.32% -0.106 0.13)
OKLCHoklch(86.32% 0.168 129.2)
XYZxyz(48.7534, 67.2642, 23.5087)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE768 #A068E7
analogous
#E7E068 #AFE768 #6FE768
triadic
#AFE768 #68AFE7 #E768AF
tetradic
#AFE768 #68E7E0 #A068E7 #E7686F
square
#AFE768 #68E7E0 #A068E7 #E7686F
split-complementary
#AFE768 #686FE7 #E068E7
monochromatic
#73B71D #93DF33 #AFE768 #CBEF9D #E7F8D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE768#FFFFFF#000000##000000
##AFE7681.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)
#F1D95B
Deuteranopia (green-blind)
#E9D570
Tritanopia (blue-blind)
#B3DECB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe768;
/* rgb */ color: rgb(175, 231, 104);
/* oklch */ color: oklch(86.3% 0.168 129.2);
Tailwind
colors: {
  custom: {
    50: '#caef97',
    500: '#afe768',
    950: '#000000',
  },
}
SCSS
$custom: #afe768;
$custom-light: #caef97;
$custom-dark: #000000;
JSON
{
  "hex": "#afe768",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 104
  },
  "hsl": {
    "h": 86.457,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.86319,
    "c": 0.16772,
    "h": 129.2
  },
  "luminance": 0.67265
}

Semantic roles & 50–950 ramp

primary
#AFE768
secondary
#723CB7
accent
#11D567
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE768

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

Preview Lab → · Contrast checker → · Palette generator →

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