#AFD35E#AFD35E

#AFD35E is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.7% C 0.150 H 124.0°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#AFD35E
RGBrgb(175, 211, 94)
HSLhsl(78, 57%, 60%)
HSVhsv(78, 55%, 83%)
CMYKcmyk(17.1%, 0%, 55.5%, 17.3%)
CIE-LABlab(79.90, -29.56, 53.14)
CIE-LCHlch(79.90, 60.81, 119.08°)
OKLaboklab(81.66% -0.0838 0.1245)
OKLCHoklch(81.66% 0.15 124)
XYZxyz(42.9940, 56.5104, 19.2300)
Luminance0.5651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD35E #825ED3
analogous
#D3BD5E #AFD35E #74D35E
triadic
#AFD35E #5EAFD3 #D35EAF
tetradic
#AFD35E #5ED3BD #825ED3 #D35E74
square
#AFD35E #5ED3BD #825ED3 #D35E74
split-complementary
#AFD35E #5E74D3 #BD5ED3
monochromatic
#6F8F27 #95BF34 #AFD35E #C7E08E #DFEDBE

Accessibility & contrast

On white

1.71
#AFD35E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#AFD35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD35E
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD35E#FFFFFF#000000##000000
##AFD35E1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC752
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#B6CAB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd35e;
/* rgb */ color: rgb(175, 211, 94);
/* oklch */ color: oklch(81.7% 0.150 124.0);
Tailwind
colors: {
  custom: {
    50: '#c9e08f',
    500: '#afd35e',
    950: '#000000',
  },
}
SCSS
$custom: #afd35e;
$custom-light: #c9e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd35e",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 94
  },
  "hsl": {
    "h": 78.462,
    "s": 57.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81657,
    "c": 0.15004,
    "h": 124
  },
  "luminance": 0.56511
}

Semantic roles & 50–950 ramp

primary
#AFD35E
secondary
#5A4095
accent
#47E077
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD35E

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

Preview Lab → · Contrast checker → · Palette generator →

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