#AFCC56#AFCC56

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

Color values

HEX#AFCC56
RGBrgb(175, 204, 86)
HSLhsl(75, 54%, 57%)
HSVhsv(75, 58%, 80%)
CMYKcmyk(14.2%, 0%, 57.8%, 20%)
CIE-LABlab(77.86, -26.92, 54.41)
CIE-LCHlch(77.86, 60.70, 116.32°)
OKLaboklab(79.99% -0.0772 0.1263)
OKLCHoklch(79.99% 0.148 121.4)
XYZxyz(40.9522, 52.9716, 16.8694)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC56 #7356CC
analogous
#CCAE56 #AFCC56 #74CC56
triadic
#AFCC56 #56AFCC #CC56AF
tetradic
#AFCC56 #56CCAE #7356CC #CC5674
square
#AFCC56 #56CCAE #7356CC #CC5674
split-complementary
#AFCC56 #5674CC #AE56CC
monochromatic
#6B8127 #92B035 #AFCC56 #C5DA85 #DCE8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC56#FFFFFF#000000##000000
##AFCC561.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)
#D7C149
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#B7C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc56;
/* rgb */ color: rgb(175, 204, 86);
/* oklch */ color: oklch(80.0% 0.148 121.4);
Tailwind
colors: {
  custom: {
    50: '#c9db8a',
    500: '#afcc56',
    950: '#000000',
  },
}
SCSS
$custom: #afcc56;
$custom-light: #c9db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc56",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 74.746,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79985,
    "c": 0.14804,
    "h": 121.4
  },
  "luminance": 0.52972
}

Semantic roles & 50–950 ramp

primary
#AFCC56
secondary
#503E88
accent
#4BDD6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC56

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

Preview Lab → · Contrast checker → · Palette generator →

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