#AFCC4A#AFCC4A

#AFCC4A is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.158 H 120.8°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#AFCC4A
RGBrgb(175, 204, 74)
HSLhsl(73, 56%, 55%)
HSVhsv(73, 64%, 80%)
CMYKcmyk(14.2%, 0%, 63.7%, 20%)
CIE-LABlab(77.75, -27.83, 59.43)
CIE-LCHlch(77.75, 65.63, 115.09°)
OKLaboklab(79.87% -0.0809 0.1355)
OKLCHoklch(79.87% 0.158 120.8)
XYZxyz(40.5086, 52.7942, 14.5335)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC4A #674ACC
analogous
#CCA84A #AFCC4A #6ECC4A
triadic
#AFCC4A #4AAFCC #CC4AAF
tetradic
#AFCC4A #4ACCA8 #674ACC #CC4A6E
square
#AFCC4A #4ACCA8 #674ACC #CC4A6E
split-complementary
#AFCC4A #4A6ECC #A84ACC
monochromatic
#667922 #8EA930 #AFCC4A #C4D97A #D9E7A9

Accessibility & contrast

On white

1.82
#AFCC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#AFCC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC4A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC4A#FFFFFF#000000##000000
##AFCC4A1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C139
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc4a;
/* rgb */ color: rgb(175, 204, 74);
/* oklch */ color: oklch(79.9% 0.158 120.8);
Tailwind
colors: {
  custom: {
    50: '#cadb82',
    500: '#afcc4a',
    950: '#000000',
  },
}
SCSS
$custom: #afcc4a;
$custom-light: #cadb82;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc4a",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 73.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79867,
    "c": 0.15782,
    "h": 120.8
  },
  "luminance": 0.52794
}

Semantic roles & 50–950 ramp

primary
#AFCC4A
secondary
#493982
accent
#48DF6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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