#AFCC3E#AFCC3E

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

Color values

HEX#AFCC3E
RGBrgb(175, 204, 62)
HSLhsl(72, 58%, 52%)
HSVhsv(72, 70%, 80%)
CMYKcmyk(14.2%, 0%, 69.6%, 20%)
CIE-LABlab(77.67, -28.60, 64.02)
CIE-LCHlch(77.67, 70.12, 114.07°)
OKLaboklab(79.77% -0.0841 0.1434)
OKLCHoklch(79.77% 0.166 120.4)
XYZxyz(40.1422, 52.6476, 12.6038)
Luminance0.5265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC3E #5B3ECC
analogous
#CCA23E #AFCC3E #68CC3E
triadic
#AFCC3E #3EAFCC #CC3EAF
tetradic
#AFCC3E #3ECCA2 #5B3ECC #CC3E68
square
#AFCC3E #3ECCA2 #5B3ECC #CC3E68
split-complementary
#AFCC3E #3E68CC #A23ECC
monochromatic
#61721E #8AA22B #AFCC3E #C3D96E #D7E69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC3E#FFFFFF#000000##000000
##AFCC3E1.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)
#D9C027
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc3e;
/* rgb */ color: rgb(175, 204, 62);
/* oklch */ color: oklch(79.8% 0.166 120.4);
Tailwind
colors: {
  custom: {
    50: '#cadb7c',
    500: '#afcc3e',
    950: '#000000',
  },
}
SCSS
$custom: #afcc3e;
$custom-light: #cadb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc3e",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 72.254,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79769,
    "c": 0.16626,
    "h": 120.4
  },
  "luminance": 0.52647
}

Semantic roles & 50–950 ramp

primary
#AFCC3E
secondary
#42347B
accent
#46E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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