#AFCD5C#AFCD5C

#AFCD5C is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.3% C 0.144 H 122.1°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#AFCD5C
RGBrgb(175, 205, 92)
HSLhsl(76, 53%, 58%)
HSVhsv(76, 55%, 80%)
CMYKcmyk(14.6%, 0%, 55.1%, 19.6%)
CIE-LABlab(78.20, -26.88, 52.09)
CIE-LCHlch(78.20, 58.61, 117.30°)
OKLaboklab(80.28% -0.0765 0.122)
OKLCHoklch(80.28% 0.144 122.1)
XYZxyz(41.4426, 53.5492, 18.2759)
Luminance0.5355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD5C #7A5CCD
analogous
#CDB25C #AFCD5C #76CD5C
triadic
#AFCD5C #5CAFCD #CD5CAF
tetradic
#AFCD5C #5CCDB2 #7A5CCD #CD5C76
square
#AFCD5C #5CCDB2 #7A5CCD #CD5C76
split-complementary
#AFCD5C #5C76CD #B25CCD
monochromatic
#6D8629 #93B437 #AFCD5C #C6DB8B #DDEABA

Accessibility & contrast

On white

1.79
#AFCD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#AFCD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD5C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD5C#FFFFFF#000000##000000
##AFCD5C1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C251
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd5c;
/* rgb */ color: rgb(175, 205, 92);
/* oklch */ color: oklch(80.3% 0.144 122.1);
Tailwind
colors: {
  custom: {
    50: '#c9dc8e',
    500: '#afcd5c',
    950: '#000000',
  },
}
SCSS
$custom: #afcd5c;
$custom-light: #c9dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd5c",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 75.929,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80277,
    "c": 0.144,
    "h": 122.1
  },
  "luminance": 0.53549
}

Semantic roles & 50–950 ramp

primary
#AFCD5C
secondary
#55408D
accent
#4BDC72
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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