#AFE25B#AFE25B

#AFE25B is a very light, vivid yellow-green. Relative luminance 0.643; OKLCH L 85.0% C 0.172 H 127.2°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#AFE25B
RGBrgb(175, 226, 91)
HSLhsl(83, 70%, 62%)
HSVhsv(83, 60%, 89%)
CMYKcmyk(22.6%, 0%, 59.7%, 11.4%)
CIE-LABlab(84.10, -36.75, 59.21)
CIE-LCHlch(84.10, 69.69, 121.82°)
OKLaboklab(85.04% -0.1041 0.1371)
OKLCHoklch(85.04% 0.172 127.2)
XYZxyz(46.7638, 64.2612, 19.8354)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE25B #8E5BE2
analogous
#E2D25B #AFE25B #6BE25B
triadic
#AFE25B #5BAFE2 #E25BAF
tetradic
#AFE25B #5BE2D2 #8E5BE2 #E25B6B
square
#AFE25B #5BE2D2 #8E5BE2 #E25B6B
split-complementary
#AFE25B #5B6BE2 #D25BE2
monochromatic
#72A51D #96D927 #AFE25B #C8EB8F #E2F4C3

Accessibility & contrast

On white

1.52
#AFE25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#AFE25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE25B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE25B#FFFFFF#000000##000000
##AFE25B1.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44C
Deuteranopia (green-blind)
#E6D165
Tritanopia (blue-blind)
#B5D8C5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe25b;
/* rgb */ color: rgb(175, 226, 91);
/* oklch */ color: oklch(85.0% 0.172 127.2);
Tailwind
colors: {
  custom: {
    50: '#caeb8e',
    500: '#afe25b',
    950: '#000000',
  },
}
SCSS
$custom: #afe25b;
$custom-light: #caeb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe25b",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 91
  },
  "hsl": {
    "h": 82.667,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.85037,
    "c": 0.17214,
    "h": 127.2
  },
  "luminance": 0.64262
}

Semantic roles & 50–950 ramp

primary
#AFE25B
secondary
#6339A8
accent
#14D25B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE25B

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

Preview Lab → · Contrast checker → · Palette generator →

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