#AFE05D#AFE05D

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

Color values

HEX#AFE05D
RGBrgb(175, 224, 93)
HSLhsl(82, 68%, 62%)
HSVhsv(82, 58%, 88%)
CMYKcmyk(21.9%, 0%, 58.5%, 12.2%)
CIE-LABlab(83.56, -35.67, 57.74)
CIE-LCHlch(83.56, 67.87, 121.71°)
OKLaboklab(84.6% -0.1009 0.1342)
OKLCHoklch(84.6% 0.168 126.9)
XYZxyz(46.3106, 63.2149, 20.1156)
Luminance0.6322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE05D #8E5DE0
analogous
#E0D05D #AFE05D #6DE05D
triadic
#AFE05D #5DAFE0 #E05DAF
tetradic
#AFE05D #5DE0D0 #8E5DE0 #E05D6D
square
#AFE05D #5DE0D0 #8E5DE0 #E05D6D
split-complementary
#AFE05D #5D6DE0 #D05DE0
monochromatic
#72A31F #96D62A #AFE05D #C8EA90 #E2F4C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE05D#FFFFFF#000000##000000
##AFE05D1.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)
#EBD24F
Deuteranopia (green-blind)
#E4CF66
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe05d;
/* rgb */ color: rgb(175, 224, 93);
/* oklch */ color: oklch(84.6% 0.168 126.9);
Tailwind
colors: {
  custom: {
    50: '#caea8f',
    500: '#afe05d',
    950: '#000000',
  },
}
SCSS
$custom: #afe05d;
$custom-light: #caea8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe05d",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 93
  },
  "hsl": {
    "h": 82.443,
    "s": 67.876,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84601,
    "c": 0.16791,
    "h": 126.9
  },
  "luminance": 0.63216
}

Semantic roles & 50–950 ramp

primary
#AFE05D
secondary
#633BA6
accent
#16D05B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE05D

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

Preview Lab → · Contrast checker → · Palette generator →

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