#AFD35A#AFD35A

#AFD35A is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.6% C 0.154 H 123.7°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#AFD35A
RGBrgb(175, 211, 90)
HSLhsl(78, 58%, 59%)
HSVhsv(78, 57%, 83%)
CMYKcmyk(17.1%, 0%, 57.3%, 17.3%)
CIE-LABlab(79.86, -29.91, 54.89)
CIE-LCHlch(79.86, 62.51, 118.58°)
OKLaboklab(81.61% -0.0851 0.1278)
OKLCHoklch(81.61% 0.154 123.7)
XYZxyz(42.8191, 56.4404, 18.3091)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD35A #7E5AD3
analogous
#D3BB5A #AFD35A #73D35A
triadic
#AFD35A #5AAFD3 #D35AAF
tetradic
#AFD35A #5AD3BB #7E5AD3 #D35A73
square
#AFD35A #5AD3BB #7E5AD3 #D35A73
split-complementary
#AFD35A #5A73D3 #BB5AD3
monochromatic
#6E8D26 #94BD32 #AFD35A #C6E08A #DEEDBB

Accessibility & contrast

On white

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

On black

12.29
#AFD35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD35A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD35A#FFFFFF#000000##000000
##AFD35A1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd35a;
/* rgb */ color: rgb(175, 211, 90);
/* oklch */ color: oklch(81.6% 0.154 123.7);
Tailwind
colors: {
  custom: {
    50: '#c9e08d',
    500: '#afd35a',
    950: '#000000',
  },
}
SCSS
$custom: #afd35a;
$custom-light: #c9e08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd35a",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 90
  },
  "hsl": {
    "h": 77.851,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81612,
    "c": 0.15357,
    "h": 123.7
  },
  "luminance": 0.56441
}

Semantic roles & 50–950 ramp

primary
#AFD35A
secondary
#573E93
accent
#47E175
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD35A

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

Preview Lab → · Contrast checker → · Palette generator →

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