#AFC552#AFC552

#AFC552 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.4% C 0.143 H 118.9°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#AFC552
RGBrgb(175, 197, 82)
HSLhsl(71, 50%, 55%)
HSVhsv(71, 58%, 77%)
CMYKcmyk(11.2%, 0%, 58.4%, 22.7%)
CIE-LABlab(75.86, -23.86, 53.94)
CIE-LCHlch(75.86, 58.98, 113.86°)
OKLaboklab(78.36% -0.069 0.1249)
OKLCHoklch(78.36% 0.143 118.9)
XYZxyz(39.1690, 49.6559, 15.5021)
Luminance0.4966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC552 #6852C5
analogous
#C5A152 #AFC552 #76C552
triadic
#AFC552 #52AFC5 #C552AF
tetradic
#AFC552 #52C5A1 #6852C5 #C55276
square
#AFC552 #52C5A1 #6852C5 #C55276
split-complementary
#AFC552 #5276C5 #A152C5
monochromatic
#667527 #8EA337 #AFC552 #C4D480 #D9E4AE

Accessibility & contrast

On white

1.92
#AFC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#AFC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC552
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC552#FFFFFF#000000##000000
##AFC5521.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#B8BBAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc552;
/* rgb */ color: rgb(175, 197, 82);
/* oklch */ color: oklch(78.4% 0.143 118.9);
Tailwind
colors: {
  custom: {
    50: '#c9d687',
    500: '#afc552',
    950: '#000000',
  },
}
SCSS
$custom: #afc552;
$custom-light: #c9d687;
$custom-dark: #000000;
JSON
{
  "hex": "#afc552",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 71.478,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78365,
    "c": 0.14267,
    "h": 118.9
  },
  "luminance": 0.49656
}

Semantic roles & 50–950 ramp

primary
#AFC552
secondary
#AAA1D2
accent
#4ED969
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #AFC552

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

Preview Lab → · Contrast checker → · Palette generator →

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