#AFCC55#AFCC55

#AFCC55 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.149 H 121.4°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#AFCC55
RGBrgb(175, 204, 85)
HSLhsl(75, 54%, 57%)
HSVhsv(75, 58%, 80%)
CMYKcmyk(14.2%, 0%, 58.3%, 20%)
CIE-LABlab(77.85, -27.00, 54.84)
CIE-LCHlch(77.85, 61.13, 116.21°)
OKLaboklab(79.97% -0.0775 0.1271)
OKLCHoklch(79.97% 0.149 121.4)
XYZxyz(40.9122, 52.9556, 16.6587)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC55 #7255CC
analogous
#CCAE55 #AFCC55 #74CC55
triadic
#AFCC55 #55AFCC #CC55AF
tetradic
#AFCC55 #55CCAE #7255CC #CC5574
square
#AFCC55 #55CCAE #7255CC #CC5574
split-complementary
#AFCC55 #5574CC #AE55CC
monochromatic
#6A8026 #91AF35 #AFCC55 #C5DA84 #DBE8B3

Accessibility & contrast

On white

1.81
#AFCC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#AFCC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC55
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC55#FFFFFF#000000##000000
##AFCC551.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C148
Deuteranopia (green-blind)
#D4C15D
Tritanopia (blue-blind)
#B7C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc55;
/* rgb */ color: rgb(175, 204, 85);
/* oklch */ color: oklch(80.0% 0.149 121.4);
Tailwind
colors: {
  custom: {
    50: '#c9db89',
    500: '#afcc55',
    950: '#000000',
  },
}
SCSS
$custom: #afcc55;
$custom-light: #c9db89;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc55",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 74.622,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79974,
    "c": 0.1489,
    "h": 121.4
  },
  "luminance": 0.52956
}

Semantic roles & 50–950 ramp

primary
#AFCC55
secondary
#503D88
accent
#4BDD6E
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC55

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

Preview Lab → · Contrast checker → · Palette generator →

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