#AFE05F#AFE05F

#AFE05F is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.6% C 0.166 H 127.1°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#AFE05F
RGBrgb(175, 224, 95)
HSLhsl(83, 68%, 63%)
HSVhsv(83, 58%, 88%)
CMYKcmyk(21.9%, 0%, 57.6%, 12.2%)
CIE-LABlab(83.57, -35.50, 56.89)
CIE-LCHlch(83.57, 67.05, 121.97°)
OKLaboklab(84.62% -0.1003 0.1326)
OKLCHoklch(84.62% 0.166 127.1)
XYZxyz(46.4003, 63.2508, 20.5883)
Luminance0.6325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE05F #905FE0
analogous
#E0D15F #AFE05F #6EE05F
triadic
#AFE05F #5FAFE0 #E05FAF
tetradic
#AFE05F #5FE0D1 #905FE0 #E05F6E
square
#AFE05F #5FE0D1 #905FE0 #E05F6E
split-complementary
#AFE05F #5F6EE0 #D15FE0
monochromatic
#72A520 #95D62C #AFE05F #C9EA92 #E2F4C6

Accessibility & contrast

On white

1.54
#AFE05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#AFE05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE05F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE05F#FFFFFF#000000##000000
##AFE05F1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD251
Deuteranopia (green-blind)
#E4CF68
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe05f;
/* rgb */ color: rgb(175, 224, 95);
/* oklch */ color: oklch(84.6% 0.166 127.1);
Tailwind
colors: {
  custom: {
    50: '#caea91',
    500: '#afe05f',
    950: '#000000',
  },
}
SCSS
$custom: #afe05f;
$custom-light: #caea91;
$custom-dark: #000000;
JSON
{
  "hex": "#afe05f",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 95
  },
  "hsl": {
    "h": 82.791,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84622,
    "c": 0.16623,
    "h": 127.1
  },
  "luminance": 0.63251
}

Semantic roles & 50–950 ramp

primary
#AFE05F
secondary
#653CA7
accent
#16CF5C
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE05F

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

Preview Lab → · Contrast checker → · Palette generator →

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