#AFCD5F#AFCD5F

#AFCD5F is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.3% C 0.141 H 122.3°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#AFCD5F
RGBrgb(175, 205, 95)
HSLhsl(76, 52%, 59%)
HSVhsv(76, 54%, 80%)
CMYKcmyk(14.6%, 0%, 53.7%, 19.6%)
CIE-LABlab(78.23, -26.61, 50.74)
CIE-LCHlch(78.23, 57.29, 117.67°)
OKLaboklab(80.31% -0.0755 0.1194)
OKLCHoklch(80.31% 0.141 122.3)
XYZxyz(41.5763, 53.6027, 18.9803)
Luminance0.5360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD5F #7D5FCD
analogous
#CDB45F #AFCD5F #78CD5F
triadic
#AFCD5F #5FAFCD #CD5FAF
tetradic
#AFCD5F #5FCDB4 #7D5FCD #CD5F78
square
#AFCD5F #5FCDB4 #7D5FCD #CD5F78
split-complementary
#AFCD5F #5F78CD #B45FCD
monochromatic
#6E872A #94B639 #AFCD5F #C6DC8E #DEEABC

Accessibility & contrast

On white

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

On black

11.72
#AFCD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD5F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD5F#FFFFFF#000000##000000
##AFCD5F1.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd5f;
/* rgb */ color: rgb(175, 205, 95);
/* oklch */ color: oklch(80.3% 0.141 122.3);
Tailwind
colors: {
  custom: {
    50: '#c9dc8f',
    500: '#afcd5f',
    950: '#000000',
  },
}
SCSS
$custom: #afcd5f;
$custom-light: #c9dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd5f",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 76.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80313,
    "c": 0.14123,
    "h": 122.3
  },
  "luminance": 0.53603
}

Semantic roles & 50–950 ramp

primary
#AFCD5F
secondary
#57428E
accent
#4CDC73
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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