#AFCC4B#AFCC4B

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

Color values

HEX#AFCC4B
RGBrgb(175, 204, 75)
HSLhsl(73, 56%, 55%)
HSVhsv(73, 63%, 80%)
CMYKcmyk(14.2%, 0%, 63.2%, 20%)
CIE-LABlab(77.76, -27.76, 59.03)
CIE-LCHlch(77.76, 65.23, 115.19°)
OKLaboklab(79.88% -0.0806 0.1348)
OKLCHoklch(79.88% 0.157 120.9)
XYZxyz(40.5426, 52.8078, 14.7123)
Luminance0.5281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC4B #684BCC
analogous
#CCA84B #AFCC4B #6FCC4B
triadic
#AFCC4B #4BAFCC #CC4BAF
tetradic
#AFCC4B #4BCCA8 #684BCC #CC4B6F
square
#AFCC4B #4BCCA8 #684BCC #CC4B6F
split-complementary
#AFCC4B #4B6FCC #A84BCC
monochromatic
#667A23 #8EAA30 #AFCC4B #C4DA7B #D9E7AA

Accessibility & contrast

On white

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

On black

11.56
#AFCC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC4B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC4B#FFFFFF#000000##000000
##AFCC4B1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#D4C054
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc4b;
/* rgb */ color: rgb(175, 204, 75);
/* oklch */ color: oklch(79.9% 0.157 120.9);
Tailwind
colors: {
  custom: {
    50: '#cadb83',
    500: '#afcc4b',
    950: '#000000',
  },
}
SCSS
$custom: #afcc4b;
$custom-light: #cadb83;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc4b",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 73.488,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79876,
    "c": 0.15705,
    "h": 120.9
  },
  "luminance": 0.52808
}

Semantic roles & 50–950 ramp

primary
#AFCC4B
secondary
#493982
accent
#49DF6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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