#AFD34A#AFD34A

#AFD34A is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.5% C 0.166 H 122.8°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#AFD34A
RGBrgb(175, 211, 74)
HSLhsl(76, 61%, 56%)
HSVhsv(76, 65%, 83%)
CMYKcmyk(17.1%, 0%, 64.9%, 17.3%)
CIE-LABlab(79.73, -31.14, 61.52)
CIE-LCHlch(79.73, 68.95, 116.85°)
OKLaboklab(81.46% -0.09 0.1399)
OKLCHoklch(81.46% 0.166 122.8)
XYZxyz(42.2099, 56.1967, 15.1006)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD34A #6E4AD3
analogous
#D3B24A #AFD34A #6AD34A
triadic
#AFD34A #4AAFD3 #D34AAF
tetradic
#AFD34A #4AD3B2 #6E4AD3 #D34A6A
square
#AFD34A #4AD3B2 #6E4AD3 #D34A6A
split-complementary
#AFD34A #4A6AD3 #B24AD3
monochromatic
#698320 #90B42C #AFD34A #C5DF7B #DBEBAC

Accessibility & contrast

On white

1.72
#AFD34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#AFD34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD34A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD34A#FFFFFF#000000##000000
##AFD34A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC738
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#B7C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd34a;
/* rgb */ color: rgb(175, 211, 74);
/* oklch */ color: oklch(81.5% 0.166 122.8);
Tailwind
colors: {
  custom: {
    50: '#cae083',
    500: '#afd34a',
    950: '#000000',
  },
}
SCSS
$custom: #afd34a;
$custom-light: #cae083;
$custom-dark: #000000;
JSON
{
  "hex": "#afd34a",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 74
  },
  "hsl": {
    "h": 75.766,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81456,
    "c": 0.16639,
    "h": 122.8
  },
  "luminance": 0.56197
}

Semantic roles & 50–950 ramp

primary
#AFD34A
secondary
#4D378A
accent
#44E46E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD34A

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

Preview Lab → · Contrast checker → · Palette generator →

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