#AFCC4F#AFCC4F

#AFCC4F is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.9% C 0.154 H 121.1°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#AFCC4F
RGBrgb(175, 204, 79)
HSLhsl(74, 55%, 55%)
HSVhsv(74, 61%, 80%)
CMYKcmyk(14.2%, 0%, 61.3%, 20%)
CIE-LABlab(77.79, -27.47, 57.38)
CIE-LCHlch(77.79, 63.62, 115.58°)
OKLaboklab(79.91% -0.0794 0.1318)
OKLCHoklch(79.91% 0.154 121.1)
XYZxyz(40.6838, 52.8642, 15.4561)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC4F #6C4FCC
analogous
#CCAA4F #AFCC4F #70CC4F
triadic
#AFCC4F #4FAFCC #CC4FAF
tetradic
#AFCC4F #4FCCAA #6C4FCC #CC4F70
square
#AFCC4F #4FCCAA #6C4FCC #CC4F70
split-complementary
#AFCC4F #4F70CC #AA4FCC
monochromatic
#687D24 #90AC32 #AFCC4F #C5DA7E #DAE7AE

Accessibility & contrast

On white

1.81
#AFCC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#AFCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC4F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC4F#FFFFFF#000000##000000
##AFCC4F1.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#B8C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc4f;
/* rgb */ color: rgb(175, 204, 79);
/* oklch */ color: oklch(79.9% 0.154 121.1);
Tailwind
colors: {
  custom: {
    50: '#cadb85',
    500: '#afcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #afcc4f;
$custom-light: #cadb85;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc4f",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 73.92,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79913,
    "c": 0.15389,
    "h": 121.1
  },
  "luminance": 0.52864
}

Semantic roles & 50–950 ramp

primary
#AFCC4F
secondary
#4C3B84
accent
#49DE6C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #AFCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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