#AFE45E#AFE45E

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

Color values

HEX#AFE45E
RGBrgb(175, 228, 94)
HSLhsl(84, 71%, 63%)
HSVhsv(84, 59%, 89%)
CMYKcmyk(23.2%, 0%, 58.8%, 10.6%)
CIE-LABlab(84.69, -37.40, 58.59)
CIE-LCHlch(84.69, 69.50, 122.55°)
OKLaboklab(85.52% -0.1056 0.1361)
OKLCHoklch(85.52% 0.172 127.8)
XYZxyz(47.4428, 65.4081, 20.7130)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE45E #935EE4
analogous
#E4D65E #AFE45E #6CE45E
triadic
#AFE45E #5EAFE4 #E45EAF
tetradic
#AFE45E #5EE4D6 #935EE4 #E45E6C
square
#AFE45E #5EE4D6 #935EE4 #E45E6C
split-complementary
#AFE45E #5E6CE4 #D65EE4
monochromatic
#73AB1D #95DB2A #AFE45E #C9ED92 #E3F6C7

Accessibility & contrast

On white

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

On black

14.08
#AFE45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE45E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE45E#FFFFFF#000000##000000
##AFE45E1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED64F
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#B4DBC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe45e;
/* rgb */ color: rgb(175, 228, 94);
/* oklch */ color: oklch(85.5% 0.172 127.8);
Tailwind
colors: {
  custom: {
    50: '#caec90',
    500: '#afe45e',
    950: '#000000',
  },
}
SCSS
$custom: #afe45e;
$custom-light: #caec90;
$custom-dark: #000000;
JSON
{
  "hex": "#afe45e",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 94
  },
  "hsl": {
    "h": 83.731,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85524,
    "c": 0.17228,
    "h": 127.8
  },
  "luminance": 0.65409
}

Semantic roles & 50–950 ramp

primary
#AFE45E
secondary
#673AAD
accent
#12D35F
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFE45E

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

Preview Lab → · Contrast checker → · Palette generator →

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