#AFCC3D#AFCC3D

#AFCC3D is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.167 H 120.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#AFCC3D
RGBrgb(175, 204, 61)
HSLhsl(72, 58%, 52%)
HSVhsv(72, 70%, 80%)
CMYKcmyk(14.2%, 0%, 70.1%, 20%)
CIE-LABlab(77.66, -28.65, 64.38)
CIE-LCHlch(77.66, 70.47, 113.99°)
OKLaboklab(79.76% -0.0843 0.144)
OKLCHoklch(79.76% 0.167 120.4)
XYZxyz(40.1150, 52.6367, 12.4606)
Luminance0.5264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC3D #5A3DCC
analogous
#CCA23D #AFCC3D #68CC3D
triadic
#AFCC3D #3DAFCC #CC3DAF
tetradic
#AFCC3D #3DCCA2 #5A3DCC #CC3D68
square
#AFCC3D #3DCCA2 #5A3DCC #CC3D68
split-complementary
#AFCC3D #3D68CC #A23DCC
monochromatic
#60711E #89A12A #AFCC3D #C3D96D #D7E59E

Accessibility & contrast

On white

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

On black

11.53
#AFCC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC3D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC3D#FFFFFF#000000##000000
##AFCC3D1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C025
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc3d;
/* rgb */ color: rgb(175, 204, 61);
/* oklch */ color: oklch(79.8% 0.167 120.4);
Tailwind
colors: {
  custom: {
    50: '#cadb7b',
    500: '#afcc3d',
    950: '#000000',
  },
}
SCSS
$custom: #afcc3d;
$custom-light: #cadb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc3d",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 72.168,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.79762,
    "c": 0.1669,
    "h": 120.4
  },
  "luminance": 0.52637
}

Semantic roles & 50–950 ramp

primary
#AFCC3D
secondary
#42337A
accent
#46E266
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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