#AFE368#AFE368

#AFE368 is a very light, vivid yellow-green. Relative luminance 0.651; OKLCH L 85.4% C 0.162 H 128.5°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#AFE368
RGBrgb(175, 227, 104)
HSLhsl(85, 69%, 65%)
HSVhsv(85, 54%, 89%)
CMYKcmyk(22.9%, 0%, 54.2%, 11%)
CIE-LABlab(84.51, -36.04, 53.94)
CIE-LCHlch(84.51, 64.87, 123.75°)
OKLaboklab(85.41% -0.101 0.1271)
OKLCHoklch(85.41% 0.162 128.5)
XYZxyz(47.6467, 65.0507, 23.1398)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE368 #9C68E3
analogous
#E3DA68 #AFE368 #71E368
triadic
#AFE368 #68AFE3 #E368AF
tetradic
#AFE368 #68E3DA #9C68E3 #E36871
square
#AFE368 #68E3DA #9C68E3 #E36871
split-complementary
#AFE368 #6871E3 #DA68E3
monochromatic
#73B021 #94D934 #AFE368 #CAED9C #E6F6CF

Accessibility & contrast

On white

1.50
#AFE368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#AFE368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE368
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE368#FFFFFF#000000##000000
##AFE3681.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55C
Deuteranopia (green-blind)
#E5D270
Tritanopia (blue-blind)
#B4DAC8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe368;
/* rgb */ color: rgb(175, 227, 104);
/* oklch */ color: oklch(85.4% 0.162 128.5);
Tailwind
colors: {
  custom: {
    50: '#c9ec96',
    500: '#afe368',
    950: '#000000',
  },
}
SCSS
$custom: #afe368;
$custom-light: #c9ec96;
$custom-dark: #000000;
JSON
{
  "hex": "#afe368",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 104
  },
  "hsl": {
    "h": 85.366,
    "s": 68.715,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85407,
    "c": 0.16236,
    "h": 128.5
  },
  "luminance": 0.65052
}

Semantic roles & 50–950 ramp

primary
#AFE368
secondary
#6F3EB1
accent
#15D164
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE368

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

Preview Lab → · Contrast checker → · Palette generator →

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