#AFCC52#AFCC52

#AFCC52 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.9% C 0.151 H 121.2°. Best body text is #000000 at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#AFCC52
RGBrgb(175, 204, 82)
HSLhsl(74, 54%, 56%)
HSVhsv(74, 60%, 80%)
CMYKcmyk(14.2%, 0%, 59.8%, 20%)
CIE-LABlab(77.82, -27.24, 56.12)
CIE-LCHlch(77.82, 62.38, 115.89°)
OKLaboklab(79.94% -0.0785 0.1295)
OKLCHoklch(79.94% 0.151 121.2)
XYZxyz(40.7955, 52.9089, 16.0443)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC52 #6F52CC
analogous
#CCAC52 #AFCC52 #72CC52
triadic
#AFCC52 #52AFCC #CC52AF
tetradic
#AFCC52 #52CCAC #6F52CC #CC5272
square
#AFCC52 #52CCAC #6F52CC #CC5272
split-complementary
#AFCC52 #5272CC #AC52CC
monochromatic
#697E25 #91AE33 #AFCC52 #C5DA81 #DBE8B1

Accessibility & contrast

On white

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

On black

11.58
#AFCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC52
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC52#FFFFFF#000000##000000
##AFCC521.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C144
Deuteranopia (green-blind)
#D4C05A
Tritanopia (blue-blind)
#B8C2B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc52;
/* rgb */ color: rgb(175, 204, 82);
/* oklch */ color: oklch(79.9% 0.151 121.2);
Tailwind
colors: {
  custom: {
    50: '#c9db87',
    500: '#afcc52',
    950: '#000000',
  },
}
SCSS
$custom: #afcc52;
$custom-light: #c9db87;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc52",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 74.262,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79943,
    "c": 0.15143,
    "h": 121.2
  },
  "luminance": 0.52909
}

Semantic roles & 50–950 ramp

primary
#AFCC52
secondary
#4E3C86
accent
#4ADE6D
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC52

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

Preview Lab → · Contrast checker → · Palette generator →

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