#AFE154#AFE154

#AFE154 is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.7% C 0.176 H 126.5°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#AFE154
RGBrgb(175, 225, 84)
HSLhsl(81, 70%, 61%)
HSVhsv(81, 63%, 88%)
CMYKcmyk(22.2%, 0%, 62.7%, 11.8%)
CIE-LABlab(83.76, -36.85, 61.77)
CIE-LCHlch(83.76, 71.93, 120.82°)
OKLaboklab(84.74% -0.1049 0.1417)
OKLCHoklch(84.74% 0.176 126.5)
XYZxyz(46.2047, 63.6038, 18.2283)
Luminance0.6360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE154 #8654E1
analogous
#E1CD54 #AFE154 #68E154
triadic
#AFE154 #54AFE1 #E154AF
tetradic
#AFE154 #54E1CD #8654E1 #E15468
square
#AFE154 #54E1CD #8654E1 #E15468
split-complementary
#AFE154 #5468E1 #CD54E1
monochromatic
#709F1C #95D325 #AFE154 #C7EA88 #E0F3BC

Accessibility & contrast

On white

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

On black

13.72
#AFE154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE154
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE154#FFFFFF#000000##000000
##AFE1541.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD343
Deuteranopia (green-blind)
#E5D05E
Tritanopia (blue-blind)
#B5D7C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe154;
/* rgb */ color: rgb(175, 225, 84);
/* oklch */ color: oklch(84.7% 0.176 126.5);
Tailwind
colors: {
  custom: {
    50: '#caea8a',
    500: '#afe154',
    950: '#000000',
  },
}
SCSS
$custom: #afe154;
$custom-light: #caea8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afe154",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 84
  },
  "hsl": {
    "h": 81.277,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8474,
    "c": 0.17637,
    "h": 126.5
  },
  "luminance": 0.63604
}

Semantic roles & 50–950 ramp

primary
#AFE154
secondary
#5D37A2
accent
#13D257
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE154

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

Preview Lab → · Contrast checker → · Palette generator →

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