#AFD44F#AFD44F

#AFD44F is a light, vivid yellow-green. Relative luminance 0.568; OKLCH L 81.7% C 0.164 H 123.3°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#AFD44F
RGBrgb(175, 212, 79)
HSLhsl(77, 61%, 57%)
HSVhsv(77, 63%, 83%)
CMYKcmyk(17.5%, 0%, 62.7%, 16.9%)
CIE-LABlab(80.05, -31.25, 59.83)
CIE-LCHlch(80.05, 67.50, 117.58°)
OKLaboklab(81.73% -0.0899 0.137)
OKLCHoklch(81.73% 0.164 123.3)
XYZxyz(42.6343, 56.7652, 16.1063)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD44F #744FD4
analogous
#D4B74F #AFD44F #6CD44F
triadic
#AFD44F #4FAFD4 #D44FAF
tetradic
#AFD44F #4FD4B7 #744FD4 #D44F6C
square
#AFD44F #4FD4B7 #744FD4 #D44F6C
split-complementary
#AFD44F #4F6CD4 #B74FD4
monochromatic
#6B8721 #92B92D #AFD44F #C5E080 #DCECB1

Accessibility & contrast

On white

1.70
#AFD44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#AFD44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD44F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD44F#FFFFFF#000000##000000
##AFD44F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#DBC659
Tritanopia (blue-blind)
#B7CAB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd44f;
/* rgb */ color: rgb(175, 212, 79);
/* oklch */ color: oklch(81.7% 0.164 123.3);
Tailwind
colors: {
  custom: {
    50: '#cae186',
    500: '#afd44f',
    950: '#000000',
  },
}
SCSS
$custom: #afd44f;
$custom-light: #cae186;
$custom-dark: #000000;
JSON
{
  "hex": "#afd44f",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 79
  },
  "hsl": {
    "h": 76.692,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81728,
    "c": 0.16386,
    "h": 123.3
  },
  "luminance": 0.56765
}

Semantic roles & 50–950 ramp

primary
#AFD44F
secondary
#51398E
accent
#44E470
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD44F

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

Preview Lab → · Contrast checker → · Palette generator →

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