#AFCC36#AFCC36

#AFCC36 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.7% C 0.171 H 120.2°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#AFCC36
RGBrgb(175, 204, 54)
HSLhsl(72, 60%, 51%)
HSVhsv(72, 74%, 80%)
CMYKcmyk(14.2%, 0%, 73.5%, 20%)
CIE-LABlab(77.62, -29.02, 66.79)
CIE-LCHlch(77.62, 72.82, 113.49°)
OKLaboklab(79.72% -0.086 0.148)
OKLCHoklch(79.72% 0.171 120.2)
XYZxyz(39.9387, 52.5662, 11.5316)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC36 #5336CC
analogous
#CC9E36 #AFCC36 #64CC36
triadic
#AFCC36 #36AFCC #CC36AF
tetradic
#AFCC36 #36CC9E #5336CC #CC3664
square
#AFCC36 #36CC9E #5336CC #CC3664
split-complementary
#AFCC36 #3664CC #9E36CC
monochromatic
#5D6C1B #869D28 #AFCC36 #C2D867 #D6E598

Accessibility & contrast

On white

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

On black

11.51
#AFCC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC36
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC36#FFFFFF#000000##000000
##AFCC361.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcc36;
/* rgb */ color: rgb(175, 204, 54);
/* oklch */ color: oklch(79.7% 0.171 120.2);
Tailwind
colors: {
  custom: {
    50: '#cbdb78',
    500: '#afcc36',
    950: '#000000',
  },
}
SCSS
$custom: #afcc36;
$custom-light: #cbdb78;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc36",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 54
  },
  "hsl": {
    "h": 71.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79715,
    "c": 0.17111,
    "h": 120.2
  },
  "luminance": 0.52566
}

Semantic roles & 50–950 ramp

primary
#AFCC36
secondary
#3E3076
accent
#45E364
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCC36

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

Preview Lab → · Contrast checker → · Palette generator →

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