#AFE45C#AFE45C

#AFE45C is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.5% C 0.174 H 127.7°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#AFE45C
RGBrgb(175, 228, 92)
HSLhsl(83, 72%, 63%)
HSVhsv(83, 60%, 89%)
CMYKcmyk(23.2%, 0%, 59.6%, 10.6%)
CIE-LABlab(84.68, -37.57, 59.42)
CIE-LCHlch(84.68, 70.30, 122.30°)
OKLaboklab(85.5% -0.1062 0.1377)
OKLCHoklch(85.5% 0.174 127.7)
XYZxyz(47.3543, 65.3726, 20.2465)
Luminance0.6537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE45C #915CE4
analogous
#E4D55C #AFE45C #6BE45C
triadic
#AFE45C #5CAFE4 #E45CAF
tetradic
#AFE45C #5CE4D5 #915CE4 #E45C6B
square
#AFE45C #5CE4D5 #915CE4 #E45C6B
split-complementary
#AFE45C #5C6BE4 #D55CE4
monochromatic
#72AA1C #95DB27 #AFE45C #C9ED91 #E3F5C5

Accessibility & contrast

On white

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

On black

14.07
#AFE45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE45C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE45C#FFFFFF#000000##000000
##AFE45C1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64D
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#B5DAC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe45c;
/* rgb */ color: rgb(175, 228, 92);
/* oklch */ color: oklch(85.5% 0.174 127.7);
Tailwind
colors: {
  custom: {
    50: '#caec8f',
    500: '#afe45c',
    950: '#000000',
  },
}
SCSS
$custom: #afe45c;
$custom-light: #caec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe45c",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 92
  },
  "hsl": {
    "h": 83.382,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85504,
    "c": 0.17391,
    "h": 127.7
  },
  "luminance": 0.65373
}

Semantic roles & 50–950 ramp

primary
#AFE45C
secondary
#6539AB
accent
#12D45D
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE45C

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

Preview Lab → · Contrast checker → · Palette generator →

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