#AFE150#AFE150

#AFE150 is a very light, vivid yellow-green. Relative luminance 0.635; OKLCH L 84.7% C 0.179 H 126.3°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#AFE150
RGBrgb(175, 225, 80)
HSLhsl(81, 71%, 60%)
HSVhsv(81, 64%, 88%)
CMYKcmyk(22.2%, 0%, 64.4%, 11.8%)
CIE-LABlab(83.73, -37.15, 63.36)
CIE-LCHlch(83.73, 73.44, 120.38°)
OKLaboklab(84.7% -0.1061 0.1446)
OKLCHoklch(84.7% 0.179 126.3)
XYZxyz(46.0525, 63.5429, 17.4266)
Luminance0.6354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE150 #8250E1
analogous
#E1CB50 #AFE150 #66E150
triadic
#AFE150 #50AFE1 #E150AF
tetradic
#AFE150 #50E1CB #8250E1 #E15066
square
#AFE150 #50E1CB #8250E1 #E15066
split-complementary
#AFE150 #5066E1 #CB50E1
monochromatic
#6F9C1B #95D024 #AFE150 #C7EA84 #DFF3B8

Accessibility & contrast

On white

1.53
#AFE150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#AFE150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE150
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE150#FFFFFF#000000##000000
##AFE1501.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD33D
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#B6D7C3
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe150;
/* rgb */ color: rgb(175, 225, 80);
/* oklch */ color: oklch(84.7% 0.179 126.3);
Tailwind
colors: {
  custom: {
    50: '#caea88',
    500: '#afe150',
    950: '#000000',
  },
}
SCSS
$custom: #afe150;
$custom-light: #caea88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe150",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 80
  },
  "hsl": {
    "h": 80.69,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84704,
    "c": 0.17934,
    "h": 126.3
  },
  "luminance": 0.63544
}

Semantic roles & 50–950 ramp

primary
#AFE150
secondary
#5A369F
accent
#3AED78
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE150

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

Preview Lab → · Contrast checker → · Palette generator →

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