#AFC452#AFC452

#AFC452 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 78.1% C 0.141 H 118.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#AFC452
RGBrgb(175, 196, 82)
HSLhsl(71, 49%, 55%)
HSVhsv(71, 58%, 77%)
CMYKcmyk(10.7%, 0%, 58.2%, 23.1%)
CIE-LABlab(75.58, -23.37, 53.63)
CIE-LCHlch(75.58, 58.50, 113.54°)
OKLaboklab(78.14% -0.0676 0.1242)
OKLCHoklch(78.14% 0.141 118.6)
XYZxyz(38.9427, 49.2033, 15.4267)
Luminance0.4920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC452 #6752C4
analogous
#C4A052 #AFC452 #76C452
triadic
#AFC452 #52AFC4 #C452AF
tetradic
#AFC452 #52C4A0 #6752C4 #C45276
square
#AFC452 #52C4A0 #6752C4 #C45276
split-complementary
#AFC452 #5276C4 #A052C4
monochromatic
#667428 #8EA237 #AFC452 #C4D480 #D9E3AD

Accessibility & contrast

On white

1.94
#AFC452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#AFC452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC452
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC452#FFFFFF#000000##000000
##AFC4521.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#CDBB59
Tritanopia (blue-blind)
#B8BAAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc452;
/* rgb */ color: rgb(175, 196, 82);
/* oklch */ color: oklch(78.1% 0.141 118.6);
Tailwind
colors: {
  custom: {
    50: '#c9d587',
    500: '#afc452',
    950: '#000000',
  },
}
SCSS
$custom: #afc452;
$custom-light: #c9d587;
$custom-dark: #000000;
JSON
{
  "hex": "#afc452",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 82
  },
  "hsl": {
    "h": 71.053,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7814,
    "c": 0.14143,
    "h": 118.6
  },
  "luminance": 0.49203
}

Semantic roles & 50–950 ramp

primary
#AFC452
secondary
#AAA1D1
accent
#4FD968
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #AFC452

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

Preview Lab → · Contrast checker → · Palette generator →

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