#AFCC41#AFCC41

#AFCC41 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.8% C 0.164 H 120.5°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#AFCC41
RGBrgb(175, 204, 65)
HSLhsl(73, 58%, 53%)
HSVhsv(73, 68%, 80%)
CMYKcmyk(14.2%, 0%, 68.1%, 20%)
CIE-LABlab(77.69, -28.42, 62.92)
CIE-LCHlch(77.69, 69.04, 114.31°)
OKLaboklab(79.79% -0.0833 0.1416)
OKLCHoklch(79.79% 0.164 120.5)
XYZxyz(40.2268, 52.6815, 13.0493)
Luminance0.5268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC41 #5E41CC
analogous
#CCA341 #AFCC41 #69CC41
triadic
#AFCC41 #41AFCC #CC41AF
tetradic
#AFCC41 #41CCA3 #5E41CC #CC4169
square
#AFCC41 #41CCA3 #5E41CC #CC4169
split-complementary
#AFCC41 #4169CC #A341CC
monochromatic
#62741F #8BA42C #AFCC41 #C3D971 #D8E6A1

Accessibility & contrast

On white

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

On black

11.54
#AFCC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC41
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC41#FFFFFF#000000##000000
##AFCC411.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcc41;
/* rgb */ color: rgb(175, 204, 65);
/* oklch */ color: oklch(79.8% 0.164 120.5);
Tailwind
colors: {
  custom: {
    50: '#cadb7d',
    500: '#afcc41',
    950: '#000000',
  },
}
SCSS
$custom: #afcc41;
$custom-light: #cadb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc41",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 72.518,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79791,
    "c": 0.16428,
    "h": 120.5
  },
  "luminance": 0.52681
}

Semantic roles & 50–950 ramp

primary
#AFCC41
secondary
#44357C
accent
#47E167
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC41

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

Preview Lab → · Contrast checker → · Palette generator →

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