#AFCC5C#AFCC5C

#AFCC5C is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.1% C 0.143 H 121.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#AFCC5C
RGBrgb(175, 204, 92)
HSLhsl(76, 52%, 58%)
HSVhsv(76, 55%, 80%)
CMYKcmyk(14.2%, 0%, 54.9%, 20%)
CIE-LABlab(77.92, -26.40, 51.76)
CIE-LCHlch(77.92, 58.11, 117.02°)
OKLaboklab(80.05% -0.0752 0.1213)
OKLCHoklch(80.05% 0.143 121.8)
XYZxyz(41.2041, 53.0724, 18.1964)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC5C #795CCC
analogous
#CCB15C #AFCC5C #77CC5C
triadic
#AFCC5C #5CAFCC #CC5CAF
tetradic
#AFCC5C #5CCCB1 #795CCC #CC5C77
square
#AFCC5C #5CCCB1 #795CCC #CC5C77
split-complementary
#AFCC5C #5C77CC #B15CCC
monochromatic
#6D8429 #93B338 #AFCC5C #C6DB8B #DDE9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC5C#FFFFFF#000000##000000
##AFCC5C1.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)
#D7C151
Deuteranopia (green-blind)
#D3C163
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcc5c;
/* rgb */ color: rgb(175, 204, 92);
/* oklch */ color: oklch(80.1% 0.143 121.8);
Tailwind
colors: {
  custom: {
    50: '#c9db8d',
    500: '#afcc5c',
    950: '#000000',
  },
}
SCSS
$custom: #afcc5c;
$custom-light: #c9db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc5c",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 75.536,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80052,
    "c": 0.14269,
    "h": 121.8
  },
  "luminance": 0.53072
}

Semantic roles & 50–950 ramp

primary
#AFCC5C
secondary
#54418C
accent
#4CDC71
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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