#AFCC3F#AFCC3F

#AFCC3F is a light, vivid yellow-green. Relative luminance 0.527; 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#AFCC3F
RGBrgb(175, 204, 63)
HSLhsl(72, 58%, 52%)
HSVhsv(72, 69%, 80%)
CMYKcmyk(14.2%, 0%, 69.1%, 20%)
CIE-LABlab(77.67, -28.54, 63.66)
CIE-LCHlch(77.67, 69.76, 114.15°)
OKLaboklab(79.78% -0.0838 0.1428)
OKLCHoklch(79.78% 0.166 120.4)
XYZxyz(40.1699, 52.6587, 12.7496)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC3F #5C3FCC
analogous
#CCA23F #AFCC3F #69CC3F
triadic
#AFCC3F #3FAFCC #CC3FAF
tetradic
#AFCC3F #3FCCA2 #5C3FCC #CC3F69
square
#AFCC3F #3FCCA2 #5C3FCC #CC3F69
split-complementary
#AFCC3F #3F69CC #A23FCC
monochromatic
#61721E #8AA32B #AFCC3F #C3D96F #D7E6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC3F#FFFFFF#000000##000000
##AFCC3F1.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)
#D9C028
Deuteranopia (green-blind)
#D5C04A
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc3f;
/* rgb */ color: rgb(175, 204, 63);
/* oklch */ color: oklch(79.8% 0.166 120.4);
Tailwind
colors: {
  custom: {
    50: '#cadb7c',
    500: '#afcc3f',
    950: '#000000',
  },
}
SCSS
$custom: #afcc3f;
$custom-light: #cadb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc3f",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 72.34,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79776,
    "c": 0.16561,
    "h": 120.4
  },
  "luminance": 0.52659
}

Semantic roles & 50–950 ramp

primary
#AFCC3F
secondary
#43347B
accent
#47E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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