#AFE168#AFE168

#AFE168 is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 85.0% C 0.160 H 128.1°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#AFE168
RGBrgb(175, 225, 104)
HSLhsl(85, 67%, 65%)
HSVhsv(85, 54%, 88%)
CMYKcmyk(22.2%, 0%, 53.8%, 11.8%)
CIE-LABlab(83.95, -35.13, 53.28)
CIE-LCHlch(83.95, 63.82, 123.40°)
OKLaboklab(84.95% -0.0985 0.1257)
OKLCHoklch(84.95% 0.16 128.1)
XYZxyz(47.1029, 63.9630, 22.9585)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE168 #9A68E1
analogous
#E1D668 #AFE168 #73E168
triadic
#AFE168 #68AFE1 #E168AF
tetradic
#AFE168 #68E1D6 #9A68E1 #E16873
square
#AFE168 #68E1D6 #9A68E1 #E16873
split-complementary
#AFE168 #6873E1 #D668E1
monochromatic
#73AC22 #94D735 #AFE168 #CAEB9B #E5F5CE

Accessibility & contrast

On white

1.52
#AFE168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#AFE168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE168
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE168#FFFFFF#000000##000000
##AFE1681.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35C
Deuteranopia (green-blind)
#E4D070
Tritanopia (blue-blind)
#B4D8C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe168;
/* rgb */ color: rgb(175, 225, 104);
/* oklch */ color: oklch(85.0% 0.160 128.1);
Tailwind
colors: {
  custom: {
    50: '#c9ea96',
    500: '#afe168',
    950: '#000000',
  },
}
SCSS
$custom: #afe168;
$custom-light: #c9ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#afe168",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 84.793,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84952,
    "c": 0.15967,
    "h": 128.1
  },
  "luminance": 0.63964
}

Semantic roles & 50–950 ramp

primary
#AFE168
secondary
#6D3FAE
accent
#17CF63
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE168

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

Preview Lab → · Contrast checker → · Palette generator →

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