#AFCC4D#AFCC4D

#AFCC4D 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#AFCC4D
RGBrgb(175, 204, 77)
HSLhsl(74, 55%, 55%)
HSVhsv(74, 62%, 80%)
CMYKcmyk(14.2%, 0%, 62.3%, 20%)
CIE-LABlab(77.78, -27.62, 58.21)
CIE-LCHlch(77.78, 64.43, 115.38°)
OKLaboklab(79.89% -0.08 0.1333)
OKLCHoklch(79.89% 0.155 121)
XYZxyz(40.6121, 52.8356, 15.0785)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC4D #6A4DCC
analogous
#CCAA4D #AFCC4D #6FCC4D
triadic
#AFCC4D #4DAFCC #CC4DAF
tetradic
#AFCC4D #4DCCAA #6A4DCC #CC4D6F
square
#AFCC4D #4DCCAA #6A4DCC #CC4D6F
split-complementary
#AFCC4D #4D6FCC #AA4DCC
monochromatic
#677B23 #8FAB31 #AFCC4D #C4DA7D #DAE7AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC4D#FFFFFF#000000##000000
##AFCC4D1.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)
#D8C13D
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc4d;
/* rgb */ color: rgb(175, 204, 77);
/* oklch */ color: oklch(79.9% 0.155 121.0);
Tailwind
colors: {
  custom: {
    50: '#cadb84',
    500: '#afcc4d',
    950: '#000000',
  },
}
SCSS
$custom: #afcc4d;
$custom-light: #cadb84;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc4d",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 73.701,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79894,
    "c": 0.15549,
    "h": 121
  },
  "luminance": 0.52836
}

Semantic roles & 50–950 ramp

primary
#AFCC4D
secondary
#4B3A83
accent
#49DF6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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