#AFCD7F#AFCD7F

#AFCD7F is a light, moderate yellow-green. Relative luminance 0.543; OKLCH L 80.8% C 0.108 H 125.9°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#AFCD7F
RGBrgb(175, 205, 127)
HSLhsl(83, 44%, 65%)
HSVhsv(83, 38%, 80%)
CMYKcmyk(14.6%, 0%, 38%, 19.6%)
CIE-LABlab(78.64, -23.09, 35.58)
CIE-LCHlch(78.64, 42.41, 122.98°)
OKLaboklab(80.78% -0.0633 0.0875)
OKLCHoklch(80.78% 0.108 125.9)
XYZxyz(43.3409, 54.3086, 28.2738)
Luminance0.5431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD7F #9D7FCD
analogous
#CDC47F #AFCD7F #88CD7F
triadic
#AFCD7F #7FAFCD #CD7FAF
tetradic
#AFCD7F #7FCDC4 #9D7FCD #CD7F88
square
#AFCD7F #7FCDC4 #9D7FCD #CD7F88
split-complementary
#AFCD7F #7F88CD #C47FCD
monochromatic
#73973B #93BC53 #AFCD7F #CBDEAB #E6EFD7

Accessibility & contrast

On white

1.77
#AFCD7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#AFCD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD7F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD7F#FFFFFF#000000##000000
##AFCD7F1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C479
Deuteranopia (green-blind)
#D1C283
Tritanopia (blue-blind)
#B3C6BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcd7f;
/* rgb */ color: rgb(175, 205, 127);
/* oklch */ color: oklch(80.8% 0.108 125.9);
Tailwind
colors: {
  custom: {
    50: '#c8dca5',
    500: '#afcd7f',
    950: '#000000',
  },
}
SCSS
$custom: #afcd7f;
$custom-light: #c8dca5;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd7f",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 83.077,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80777,
    "c": 0.108,
    "h": 125.9
  },
  "luminance": 0.54309
}

Semantic roles & 50–950 ramp

primary
#AFCD7F
secondary
#70539D
accent
#2FB763
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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