#AFE05C#AFE05C

#AFE05C is a very light, vivid yellow-green. Relative luminance 0.632; OKLCH L 84.6% C 0.169 H 126.9°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#AFE05C
RGBrgb(175, 224, 92)
HSLhsl(82, 68%, 62%)
HSVhsv(82, 59%, 88%)
CMYKcmyk(21.9%, 0%, 58.9%, 12.2%)
CIE-LABlab(83.55, -35.76, 58.16)
CIE-LCHlch(83.55, 68.27, 121.58°)
OKLaboklab(84.59% -0.1012 0.135)
OKLCHoklch(84.59% 0.169 126.9)
XYZxyz(46.2666, 63.1973, 19.8839)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE05C #8D5CE0
analogous
#E0CF5C #AFE05C #6DE05C
triadic
#AFE05C #5CAFE0 #E05CAF
tetradic
#AFE05C #5CE0CF #8D5CE0 #E05C6D
square
#AFE05C #5CE0CF #8D5CE0 #E05C6D
split-complementary
#AFE05C #5C6DE0 #CF5CE0
monochromatic
#72A31F #96D629 #AFE05C #C8EA8F #E1F4C3

Accessibility & contrast

On white

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

On black

13.64
#AFE05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE05C
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE05C#FFFFFF#000000##000000
##AFE05C1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe05c;
/* rgb */ color: rgb(175, 224, 92);
/* oklch */ color: oklch(84.6% 0.169 126.9);
Tailwind
colors: {
  custom: {
    50: '#caea8f',
    500: '#afe05c',
    950: '#000000',
  },
}
SCSS
$custom: #afe05c;
$custom-light: #caea8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe05c",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 92
  },
  "hsl": {
    "h": 82.273,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8459,
    "c": 0.16874,
    "h": 126.9
  },
  "luminance": 0.63198
}

Semantic roles & 50–950 ramp

primary
#AFE05C
secondary
#623BA5
accent
#16D05B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE05C

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

Preview Lab → · Contrast checker → · Palette generator →

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