#AFCC5E#AFCC5E

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

Color values

HEX#AFCC5E
RGBrgb(175, 204, 94)
HSLhsl(76, 52%, 58%)
HSVhsv(76, 54%, 80%)
CMYKcmyk(14.2%, 0%, 53.9%, 20%)
CIE-LABlab(77.94, -26.22, 50.87)
CIE-LCHlch(77.94, 57.23, 117.27°)
OKLaboklab(80.08% -0.0745 0.1196)
OKLCHoklch(80.08% 0.141 121.9)
XYZxyz(41.2927, 53.1078, 18.6629)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC5E #7B5ECC
analogous
#CCB25E #AFCC5E #78CC5E
triadic
#AFCC5E #5EAFCC #CC5EAF
tetradic
#AFCC5E #5ECCB2 #7B5ECC #CC5E78
square
#AFCC5E #5ECCB2 #7B5ECC #CC5E78
split-complementary
#AFCC5E #5E78CC #B25ECC
monochromatic
#6D852A #93B439 #AFCC5E #C6DB8C #DDE9BB

Accessibility & contrast

On white

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

On black

11.62
#AFCC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC5E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC5E#FFFFFF#000000##000000
##AFCC5E1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcc5e;
/* rgb */ color: rgb(175, 204, 94);
/* oklch */ color: oklch(80.1% 0.141 121.9);
Tailwind
colors: {
  custom: {
    50: '#c9db8f',
    500: '#afcc5e',
    950: '#000000',
  },
}
SCSS
$custom: #afcc5e;
$custom-light: #c9db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc5e",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 75.818,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80075,
    "c": 0.14085,
    "h": 121.9
  },
  "luminance": 0.53108
}

Semantic roles & 50–950 ramp

primary
#AFCC5E
secondary
#55428D
accent
#4CDB72
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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