#AFD45E#AFD45E

#AFD45E is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.9% C 0.151 H 124.2°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#AFD45E
RGBrgb(175, 212, 94)
HSLhsl(79, 58%, 60%)
HSVhsv(79, 56%, 83%)
CMYKcmyk(17.5%, 0%, 55.7%, 16.9%)
CIE-LABlab(80.18, -30.03, 53.46)
CIE-LCHlch(80.18, 61.32, 119.32°)
OKLaboklab(81.88% -0.0851 0.1252)
OKLCHoklch(81.88% 0.151 124.2)
XYZxyz(43.2432, 57.0088, 19.3131)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD45E #835ED4
analogous
#D4BE5E #AFD45E #74D45E
triadic
#AFD45E #5EAFD4 #D45EAF
tetradic
#AFD45E #5ED4BE #835ED4 #D45E74
square
#AFD45E #5ED4BE #835ED4 #D45E74
split-complementary
#AFD45E #5E74D4 #BE5ED4
monochromatic
#709127 #95C134 #AFD45E #C7E18E #DFEEBF

Accessibility & contrast

On white

1.69
#AFD45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#AFD45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD45E
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD45E#FFFFFF#000000##000000
##AFD45E1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC852
Deuteranopia (green-blind)
#DAC766
Tritanopia (blue-blind)
#B6CBBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd45e;
/* rgb */ color: rgb(175, 212, 94);
/* oklch */ color: oklch(81.9% 0.151 124.2);
Tailwind
colors: {
  custom: {
    50: '#c9e18f',
    500: '#afd45e',
    950: '#000000',
  },
}
SCSS
$custom: #afd45e;
$custom-light: #c9e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd45e",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 78.814,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.81883,
    "c": 0.15136,
    "h": 124.2
  },
  "luminance": 0.57009
}

Semantic roles & 50–950 ramp

primary
#AFD45E
secondary
#5B4096
accent
#47E177
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD45E

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

Preview Lab → · Contrast checker → · Palette generator →

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