#AFCC2D#AFCC2D

#AFCC2D is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.7% C 0.176 H 120.0°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#AFCC2D
RGBrgb(175, 204, 45)
HSLhsl(71, 64%, 49%)
HSVhsv(71, 78%, 80%)
CMYKcmyk(14.2%, 0%, 77.9%, 20%)
CIE-LABlab(77.57, -29.43, 69.56)
CIE-LCHlch(77.57, 75.53, 112.93°)
OKLaboklab(79.66% -0.0878 0.1523)
OKLCHoklch(79.66% 0.176 120)
XYZxyz(39.7465, 52.4893, 10.5197)
Luminance0.5249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC2D #4A2DCC
analogous
#CC9A2D #AFCC2D #60CC2D
triadic
#AFCC2D #2DAFCC #CC2DAF
tetradic
#AFCC2D #2DCC9A #4A2DCC #CC2D60
square
#AFCC2D #2DCC9A #4A2DCC #CC2D60
split-complementary
#AFCC2D #2D60CC #9A2DCC
monochromatic
#596817 #849A22 #AFCC2D #C4DB5B #D6E68D

Accessibility & contrast

On white

1.83
#AFCC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#AFCC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC2D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC2D#FFFFFF#000000##000000
##AFCC2D1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#D6C03D
Tritanopia (blue-blind)
#B9C1AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc2d;
/* rgb */ color: rgb(175, 204, 45);
/* oklch */ color: oklch(79.7% 0.176 120.0);
Tailwind
colors: {
  custom: {
    50: '#cbdb74',
    500: '#afcc2d',
    950: '#000000',
  },
}
SCSS
$custom: #afcc2d;
$custom-light: #cbdb74;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc2d",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 70.943,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79663,
    "c": 0.1758,
    "h": 120
  },
  "luminance": 0.52489
}

Semantic roles & 50–950 ramp

primary
#AFCC2D
secondary
#382B72
accent
#41E75F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFCC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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