#AFE54C#AFE54C

#AFE54C is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 85.6% C 0.187 H 126.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#AFE54C
RGBrgb(175, 229, 76)
HSLhsl(81, 75%, 60%)
HSVhsv(81, 67%, 90%)
CMYKcmyk(23.6%, 0%, 66.8%, 10.2%)
CIE-LABlab(84.83, -39.21, 66.07)
CIE-LCHlch(84.83, 76.83, 120.69°)
OKLaboklab(85.59% -0.1121 0.1498)
OKLCHoklch(85.59% 0.187 126.8)
XYZxyz(47.0031, 65.6736, 17.0360)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE54C #824CE5
analogous
#E5CE4C #AFE54C #63E54C
triadic
#AFE54C #4CAFE5 #E54CAF
tetradic
#AFE54C #4CE5CE #824CE5 #E54C63
square
#AFE54C #4CE5CE #824CE5 #E54C63
split-complementary
#AFE54C #4C63E5 #CE4CE5
monochromatic
#6F9F17 #95D51F #AFE54C #C7ED81 #DFF5B7

Accessibility & contrast

On white

1.49
#AFE54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#AFE54C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE54C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE54C#FFFFFF#000000##000000
##AFE54C1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D636
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#B6DBC6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe54c;
/* rgb */ color: rgb(175, 229, 76);
/* oklch */ color: oklch(85.6% 0.187 126.8);
Tailwind
colors: {
  custom: {
    50: '#cbed86',
    500: '#afe54c',
    950: '#000000',
  },
}
SCSS
$custom: #afe54c;
$custom-light: #cbed86;
$custom-dark: #000000;
JSON
{
  "hex": "#afe54c",
  "rgb": {
    "r": 175,
    "g": 229,
    "b": 76
  },
  "hsl": {
    "h": 81.176,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85587,
    "c": 0.18711,
    "h": 126.8
  },
  "luminance": 0.65674
}

Semantic roles & 50–950 ramp

primary
#AFE54C
secondary
#5A33A2
accent
#37F178
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE54C

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

Preview Lab → · Contrast checker → · Palette generator →

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