#AFCC5A#AFCC5A

#AFCC5A is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.145 H 121.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#AFCC5A
RGBrgb(175, 204, 90)
HSLhsl(75, 53%, 58%)
HSVhsv(75, 56%, 80%)
CMYKcmyk(14.2%, 0%, 55.9%, 20%)
CIE-LABlab(77.90, -26.58, 52.65)
CIE-LCHlch(77.90, 58.98, 116.78°)
OKLaboklab(80.03% -0.0758 0.123)
OKLCHoklch(80.03% 0.145 121.7)
XYZxyz(41.1179, 53.0379, 17.7420)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC5A #775ACC
analogous
#CCB05A #AFCC5A #76CC5A
triadic
#AFCC5A #5AAFCC #CC5AAF
tetradic
#AFCC5A #5ACCB0 #775ACC #CC5A76
square
#AFCC5A #5ACCB0 #775ACC #CC5A76
split-complementary
#AFCC5A #5A76CC #B05ACC
monochromatic
#6C8329 #93B237 #AFCC5A #C6DA89 #DCE9B7

Accessibility & contrast

On white

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

On black

11.61
#AFCC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC5A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC5A#FFFFFF#000000##000000
##AFCC5A1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14E
Deuteranopia (green-blind)
#D3C161
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc5a;
/* rgb */ color: rgb(175, 204, 90);
/* oklch */ color: oklch(80.0% 0.145 121.7);
Tailwind
colors: {
  custom: {
    50: '#c9db8c',
    500: '#afcc5a',
    950: '#000000',
  },
}
SCSS
$custom: #afcc5a;
$custom-light: #c9db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc5a",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 75.263,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80029,
    "c": 0.14451,
    "h": 121.7
  },
  "luminance": 0.53038
}

Semantic roles & 50–950 ramp

primary
#AFCC5A
secondary
#53408A
accent
#4CDC70
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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