#AFE04B#AFE04B

#AFE04B is a very light, vivid yellow-green. Relative luminance 0.629; OKLCH L 84.4% C 0.182 H 125.8°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#AFE04B
RGBrgb(175, 224, 75)
HSLhsl(80, 71%, 59%)
HSVhsv(80, 67%, 88%)
CMYKcmyk(21.9%, 0%, 66.5%, 12.2%)
CIE-LABlab(83.41, -37.04, 64.98)
CIE-LCHlch(83.41, 74.80, 119.69°)
OKLaboklab(84.43% -0.1062 0.1473)
OKLCHoklch(84.43% 0.182 125.8)
XYZxyz(45.6050, 62.9327, 16.3998)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE04B #7C4BE0
analogous
#E0C74B #AFE04B #64E04B
triadic
#AFE04B #4BAFE0 #E04BAF
tetradic
#AFE04B #4BE0C7 #7C4BE0 #E04B64
square
#AFE04B #4BE0C7 #7C4BE0 #E04B64
split-complementary
#AFE04B #4B64E0 #C74BE0
monochromatic
#6E971A #94CB23 #AFE04B #C6E97F #DDF2B3

Accessibility & contrast

On white

1.55
#AFE04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#AFE04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE04B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE04B#FFFFFF#000000##000000
##AFE04B1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD236
Deuteranopia (green-blind)
#E5CF57
Tritanopia (blue-blind)
#B6D6C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe04b;
/* rgb */ color: rgb(175, 224, 75);
/* oklch */ color: oklch(84.4% 0.182 125.8);
Tailwind
colors: {
  custom: {
    50: '#caea85',
    500: '#afe04b',
    950: '#000000',
  },
}
SCSS
$custom: #afe04b;
$custom-light: #caea85;
$custom-dark: #000000;
JSON
{
  "hex": "#afe04b",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 75
  },
  "hsl": {
    "h": 79.732,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84433,
    "c": 0.18165,
    "h": 125.8
  },
  "luminance": 0.62933
}

Semantic roles & 50–950 ramp

primary
#AFE04B
secondary
#56349B
accent
#3AED75
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE04B

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

Preview Lab → · Contrast checker → · Palette generator →

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