#AFCC4E#AFCC4E

#AFCC4E is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.9% C 0.155 H 121.0°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#AFCC4E
RGBrgb(175, 204, 78)
HSLhsl(74, 55%, 55%)
HSVhsv(74, 62%, 80%)
CMYKcmyk(14.2%, 0%, 61.8%, 20%)
CIE-LABlab(77.79, -27.55, 57.80)
CIE-LCHlch(77.79, 64.03, 115.48°)
OKLaboklab(79.9% -0.0797 0.1326)
OKLCHoklch(79.9% 0.155 121)
XYZxyz(40.6477, 52.8498, 15.2659)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC4E #6B4ECC
analogous
#CCAA4E #AFCC4E #70CC4E
triadic
#AFCC4E #4EAFCC #CC4EAF
tetradic
#AFCC4E #4ECCAA #6B4ECC #CC4E70
square
#AFCC4E #4ECCAA #6B4ECC #CC4E70
split-complementary
#AFCC4E #4E70CC #AA4ECC
monochromatic
#687C24 #8FAB31 #AFCC4E #C4DA7E #DAE7AD

Accessibility & contrast

On white

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

On black

11.57
#AFCC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC4E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC4E#FFFFFF#000000##000000
##AFCC4E1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13F
Deuteranopia (green-blind)
#D4C057
Tritanopia (blue-blind)
#B8C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc4e;
/* rgb */ color: rgb(175, 204, 78);
/* oklch */ color: oklch(79.9% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#cadb85',
    500: '#afcc4e',
    950: '#000000',
  },
}
SCSS
$custom: #afcc4e;
$custom-light: #cadb85;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc4e",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 73.81,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79904,
    "c": 0.1547,
    "h": 121
  },
  "luminance": 0.5285
}

Semantic roles & 50–950 ramp

primary
#AFCC4E
secondary
#4B3A84
accent
#49DF6C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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