#AFD34D#AFD34D

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

Color values

HEX#AFD34D
RGBrgb(175, 211, 77)
HSLhsl(76, 60%, 56%)
HSVhsv(76, 64%, 83%)
CMYKcmyk(17.1%, 0%, 63.5%, 17.3%)
CIE-LABlab(79.75, -30.93, 60.33)
CIE-LCHlch(79.75, 67.80, 117.14°)
OKLaboklab(81.48% -0.0892 0.1378)
OKLCHoklch(81.48% 0.164 122.9)
XYZxyz(42.3134, 56.2381, 15.6456)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD34D #714DD3
analogous
#D3B44D #AFD34D #6CD34D
triadic
#AFD34D #4DAFD3 #D34DAF
tetradic
#AFD34D #4DD3B4 #714DD3 #D34D6C
square
#AFD34D #4DD3B4 #714DD3 #D34D6C
split-complementary
#AFD34D #4D6CD3 #B44DD3
monochromatic
#6A8521 #91B62D #AFD34D #C5DF7E #DBEBAF

Accessibility & contrast

On white

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

On black

12.25
#AFD34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD34D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD34D#FFFFFF#000000##000000
##AFD34D1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd34d;
/* rgb */ color: rgb(175, 211, 77);
/* oklch */ color: oklch(81.5% 0.164 122.9);
Tailwind
colors: {
  custom: {
    50: '#cae085',
    500: '#afd34d',
    950: '#000000',
  },
}
SCSS
$custom: #afd34d;
$custom-light: #cae085;
$custom-dark: #000000;
JSON
{
  "hex": "#afd34d",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 77
  },
  "hsl": {
    "h": 76.119,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.16415,
    "h": 122.9
  },
  "luminance": 0.56238
}

Semantic roles & 50–950 ramp

primary
#AFD34D
secondary
#4F398C
accent
#44E46F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD34D

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

Preview Lab → · Contrast checker → · Palette generator →

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