#AFCC7C#AFCC7C

#AFCC7C is a light, moderate yellow-green. Relative luminance 0.538; OKLCH L 80.5% C 0.110 H 125.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#AFCC7C
RGBrgb(175, 204, 124)
HSLhsl(82, 44%, 64%)
HSVhsv(82, 39%, 80%)
CMYKcmyk(14.2%, 0%, 39.2%, 20%)
CIE-LABlab(78.32, -22.98, 36.69)
CIE-LCHlch(78.32, 43.29, 122.06°)
OKLaboklab(80.5% -0.0631 0.09)
OKLCHoklch(80.5% 0.11 125)
XYZxyz(42.9099, 53.7547, 27.1799)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC7C #997CCC
analogous
#CCC17C #AFCC7C #87CC7C
triadic
#AFCC7C #7CAFCC #CC7CAF
tetradic
#AFCC7C #7CCCC1 #997CCC #CC7C87
square
#AFCC7C #7CCCC1 #997CCC #CC7C87
split-complementary
#AFCC7C #7C87CC #C17CCC
monochromatic
#73943A #94BB50 #AFCC7C #CADDA8 #E5EED4

Accessibility & contrast

On white

1.79
#AFCC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#AFCC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC7C
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC7C#FFFFFF#000000##000000
##AFCC7C1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C376
Deuteranopia (green-blind)
#D0C180
Tritanopia (blue-blind)
#B4C5B8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcc7c;
/* rgb */ color: rgb(175, 204, 124);
/* oklch */ color: oklch(80.5% 0.110 125.0);
Tailwind
colors: {
  custom: {
    50: '#c8dba3',
    500: '#afcc7c',
    950: '#000000',
  },
}
SCSS
$custom: #afcc7c;
$custom-light: #c8dba3;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc7c",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 81.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.80504,
    "c": 0.1099,
    "h": 125
  },
  "luminance": 0.53755
}

Semantic roles & 50–950 ramp

primary
#AFCC7C
secondary
#6C529A
accent
#2EB760
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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