#AFE05B#AFE05B

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

Color values

HEX#AFE05B
RGBrgb(175, 224, 91)
HSLhsl(82, 68%, 62%)
HSVhsv(82, 59%, 88%)
CMYKcmyk(21.9%, 0%, 59.4%, 12.2%)
CIE-LABlab(83.54, -35.84, 58.58)
CIE-LCHlch(83.54, 68.68, 121.46°)
OKLaboklab(84.58% -0.1015 0.1358)
OKLCHoklch(84.58% 0.17 126.8)
XYZxyz(46.2232, 63.1799, 19.6552)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE05B #8C5BE0
analogous
#E0CE5B #AFE05B #6DE05B
triadic
#AFE05B #5BAFE0 #E05BAF
tetradic
#AFE05B #5BE0CE #8C5BE0 #E05B6D
square
#AFE05B #5BE0CE #8C5BE0 #E05B6D
split-complementary
#AFE05B #5B6DE0 #CE5BE0
monochromatic
#72A21F #96D528 #AFE05B #C8EA8E #E1F3C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE05B#FFFFFF#000000##000000
##AFE05B1.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)
#EBD24C
Deuteranopia (green-blind)
#E4CF64
Tritanopia (blue-blind)
#B5D6C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe05b;
/* rgb */ color: rgb(175, 224, 91);
/* oklch */ color: oklch(84.6% 0.170 126.8);
Tailwind
colors: {
  custom: {
    50: '#caea8e',
    500: '#afe05b',
    950: '#000000',
  },
}
SCSS
$custom: #afe05b;
$custom-light: #caea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe05b",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 91
  },
  "hsl": {
    "h": 82.105,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8458,
    "c": 0.16956,
    "h": 126.8
  },
  "luminance": 0.63181
}

Semantic roles & 50–950 ramp

primary
#AFE05B
secondary
#623AA5
accent
#15D05A
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE05B

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

Preview Lab → · Contrast checker → · Palette generator →

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