#AFD34F#AFD34F

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

Color values

HEX#AFD34F
RGBrgb(175, 211, 79)
HSLhsl(76, 60%, 57%)
HSVhsv(76, 63%, 83%)
CMYKcmyk(17.1%, 0%, 62.6%, 17.3%)
CIE-LABlab(79.77, -30.78, 59.52)
CIE-LCHlch(79.77, 67.01, 117.35°)
OKLaboklab(81.5% -0.0886 0.1364)
OKLCHoklch(81.5% 0.163 123)
XYZxyz(42.3851, 56.2668, 16.0232)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD34F #734FD3
analogous
#D3B54F #AFD34F #6DD34F
triadic
#AFD34F #4FAFD3 #D34FAF
tetradic
#AFD34F #4FD3B5 #734FD3 #D34F6D
square
#AFD34F #4FD3B5 #734FD3 #D34F6D
split-complementary
#AFD34F #4F6DD3 #B54FD3
monochromatic
#6B8622 #92B72E #AFD34F #C5DF80 #DCEBB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD34F#FFFFFF#000000##000000
##AFD34F1.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)
#DFC73F
Deuteranopia (green-blind)
#DAC658
Tritanopia (blue-blind)
#B7C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd34f;
/* rgb */ color: rgb(175, 211, 79);
/* oklch */ color: oklch(81.5% 0.163 123.0);
Tailwind
colors: {
  custom: {
    50: '#cae086',
    500: '#afd34f',
    950: '#000000',
  },
}
SCSS
$custom: #afd34f;
$custom-light: #cae086;
$custom-dark: #000000;
JSON
{
  "hex": "#afd34f",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 76.364,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81501,
    "c": 0.16262,
    "h": 123
  },
  "luminance": 0.56267
}

Semantic roles & 50–950 ramp

primary
#AFD34F
secondary
#50398D
accent
#45E370
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD34F

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

Preview Lab → · Contrast checker → · Palette generator →

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