#AFD34C#AFD34C

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

Color values

HEX#AFD34C
RGBrgb(175, 211, 76)
HSLhsl(76, 61%, 56%)
HSVhsv(76, 64%, 83%)
CMYKcmyk(17.1%, 0%, 64%, 17.3%)
CIE-LABlab(79.74, -31.00, 60.73)
CIE-LCHlch(79.74, 68.18, 117.04°)
OKLaboklab(81.47% -0.0895 0.1385)
OKLCHoklch(81.47% 0.165 122.9)
XYZxyz(42.2784, 56.2241, 15.4611)
Luminance0.5622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD34C #704CD3
analogous
#D3B44C #AFD34C #6CD34C
triadic
#AFD34C #4CAFD3 #D34CAF
tetradic
#AFD34C #4CD3B4 #704CD3 #D34C6C
square
#AFD34C #4CD3B4 #704CD3 #D34C6C
split-complementary
#AFD34C #4C6CD3 #B44CD3
monochromatic
#6A8420 #91B52D #AFD34C #C5DF7D #DBEBAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD34C#FFFFFF#000000##000000
##AFD34C1.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)
#DFC73B
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#B7C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd34c;
/* rgb */ color: rgb(175, 211, 76);
/* oklch */ color: oklch(81.5% 0.165 122.9);
Tailwind
colors: {
  custom: {
    50: '#cae084',
    500: '#afd34c',
    950: '#000000',
  },
}
SCSS
$custom: #afd34c;
$custom-light: #cae084;
$custom-dark: #000000;
JSON
{
  "hex": "#afd34c",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 76
  },
  "hsl": {
    "h": 76,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81474,
    "c": 0.16491,
    "h": 122.9
  },
  "luminance": 0.56224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD34C

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

Preview Lab → · Contrast checker → · Palette generator →

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