#AFE165#AFE165

#AFE165 is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 84.9% C 0.162 H 127.8°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#AFE165
RGBrgb(175, 225, 101)
HSLhsl(84, 67%, 64%)
HSVhsv(84, 55%, 88%)
CMYKcmyk(22.2%, 0%, 55.1%, 11.8%)
CIE-LABlab(83.92, -35.41, 54.61)
CIE-LCHlch(83.92, 65.08, 122.96°)
OKLaboklab(84.92% -0.0995 0.1283)
OKLCHoklch(84.92% 0.162 127.8)
XYZxyz(46.9532, 63.9032, 22.1702)
Luminance0.6390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE165 #9765E1
analogous
#E1D565 #AFE165 #71E165
triadic
#AFE165 #65AFE1 #E165AF
tetradic
#AFE165 #65E1D5 #9765E1 #E16571
square
#AFE165 #65E1D5 #9765E1 #E16571
split-complementary
#AFE165 #6571E1 #D565E1
monochromatic
#73AA21 #94D732 #AFE165 #CAEB98 #E4F5CB

Accessibility & contrast

On white

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

On black

13.78
#AFE165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE165
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE165#FFFFFF#000000##000000
##AFE1651.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe165;
/* rgb */ color: rgb(175, 225, 101);
/* oklch */ color: oklch(84.9% 0.162 127.8);
Tailwind
colors: {
  custom: {
    50: '#c9ea94',
    500: '#afe165',
    950: '#000000',
  },
}
SCSS
$custom: #afe165;
$custom-light: #c9ea94;
$custom-dark: #000000;
JSON
{
  "hex": "#afe165",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 101
  },
  "hsl": {
    "h": 84.194,
    "s": 67.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84917,
    "c": 0.16236,
    "h": 127.8
  },
  "luminance": 0.63904
}

Semantic roles & 50–950 ramp

primary
#AFE165
secondary
#6A3EAC
accent
#16CF61
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE165

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

Preview Lab → · Contrast checker → · Palette generator →

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