#AFC652#AFC652

#AFC652 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.6% C 0.144 H 119.3°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#AFC652
RGBrgb(175, 198, 82)
HSLhsl(72, 50%, 55%)
HSVhsv(72, 59%, 78%)
CMYKcmyk(11.6%, 0%, 58.6%, 22.4%)
CIE-LABlab(76.14, -24.34, 54.25)
CIE-LCHlch(76.14, 59.47, 114.17°)
OKLaboklab(78.59% -0.0704 0.1256)
OKLCHoklch(78.59% 0.144 119.3)
XYZxyz(39.3968, 50.1115, 15.5780)
Luminance0.5011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC652 #6952C6
analogous
#C6A352 #AFC652 #75C652
triadic
#AFC652 #52AFC6 #C652AF
tetradic
#AFC652 #52C6A3 #6952C6 #C65275
square
#AFC652 #52C6A3 #6952C6 #C65275
split-complementary
#AFC652 #5275C6 #A352C6
monochromatic
#677727 #8FA536 #AFC652 #C4D580 #DAE4AE

Accessibility & contrast

On white

1.91
#AFC652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#AFC652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC652
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC652#FFFFFF#000000##000000
##AFC6521.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC45
Deuteranopia (green-blind)
#CFBC59
Tritanopia (blue-blind)
#B8BCAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc652;
/* rgb */ color: rgb(175, 198, 82);
/* oklch */ color: oklch(78.6% 0.144 119.3);
Tailwind
colors: {
  custom: {
    50: '#c9d787',
    500: '#afc652',
    950: '#000000',
  },
}
SCSS
$custom: #afc652;
$custom-light: #c9d787;
$custom-dark: #000000;
JSON
{
  "hex": "#afc652",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 71.897,
    "s": 50.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.7859,
    "c": 0.14392,
    "h": 119.3
  },
  "luminance": 0.50111
}

Semantic roles & 50–950 ramp

primary
#AFC652
secondary
#4A3D7F
accent
#4EDA6A
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFC652

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

Preview Lab → · Contrast checker → · Palette generator →

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