#AFCC3C#AFCC3C

#AFCC3C is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.168 H 120.3°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#AFCC3C
RGBrgb(175, 204, 60)
HSLhsl(72, 59%, 52%)
HSVhsv(72, 71%, 80%)
CMYKcmyk(14.2%, 0%, 70.6%, 20%)
CIE-LABlab(77.65, -28.71, 64.74)
CIE-LCHlch(77.65, 70.82, 113.92°)
OKLaboklab(79.75% -0.0846 0.1446)
OKLCHoklch(79.75% 0.168 120.3)
XYZxyz(40.0884, 52.6261, 12.3200)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC3C #593CCC
analogous
#CCA13C #AFCC3C #67CC3C
triadic
#AFCC3C #3CAFCC #CC3CAF
tetradic
#AFCC3C #3CCCA1 #593CCC #CC3C67
square
#AFCC3C #3CCCA1 #593CCC #CC3C67
split-complementary
#AFCC3C #3C67CC #A13CCC
monochromatic
#60701D #89A12A #AFCC3C #C3D96D #D7E59D

Accessibility & contrast

On white

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

On black

11.53
#AFCC3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC3C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC3C#FFFFFF#000000##000000
##AFCC3C1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C023
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc3c;
/* rgb */ color: rgb(175, 204, 60);
/* oklch */ color: oklch(79.8% 0.168 120.3);
Tailwind
colors: {
  custom: {
    50: '#cadb7b',
    500: '#afcc3c',
    950: '#000000',
  },
}
SCSS
$custom: #afcc3c;
$custom-light: #cadb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc3c",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 72.083,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79754,
    "c": 0.16753,
    "h": 120.3
  },
  "luminance": 0.52626
}

Semantic roles & 50–950 ramp

primary
#AFCC3C
secondary
#413379
accent
#46E265
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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