#AFCD7A#AFCD7A

#AFCD7A is a light, moderate yellow-green. Relative luminance 0.542; OKLCH L 80.7% C 0.114 H 125.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#AFCD7A
RGBrgb(175, 205, 122)
HSLhsl(82, 45%, 64%)
HSVhsv(82, 40%, 80%)
CMYKcmyk(14.6%, 0%, 40.5%, 19.6%)
CIE-LABlab(78.57, -23.71, 38.02)
CIE-LCHlch(78.57, 44.81, 121.95°)
OKLaboklab(80.69% -0.0653 0.0929)
OKLCHoklch(80.69% 0.114 125.1)
XYZxyz(43.0231, 54.1815, 26.6001)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD7A #987ACD
analogous
#CDC27A #AFCD7A #86CD7A
triadic
#AFCD7A #7AAFCD #CD7AAF
tetradic
#AFCD7A #7ACDC2 #987ACD #CD7A86
square
#AFCD7A #7ACDC2 #987ACD #CD7A86
split-complementary
#AFCD7A #7A86CD #C27ACD
monochromatic
#739538 #94BC4E #AFCD7A #CADEA6 #E5EED3

Accessibility & contrast

On white

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

On black

11.84
#AFCD7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD7A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD7A#FFFFFF#000000##000000
##AFCD7A1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C374
Deuteranopia (green-blind)
#D1C27E
Tritanopia (blue-blind)
#B4C6B9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd7a;
/* rgb */ color: rgb(175, 205, 122);
/* oklch */ color: oklch(80.7% 0.114 125.1);
Tailwind
colors: {
  custom: {
    50: '#c8dca1',
    500: '#afcd7a',
    950: '#000000',
  },
}
SCSS
$custom: #afcd7a;
$custom-light: #c8dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd7a",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 81.687,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80694,
    "c": 0.11358,
    "h": 125.1
  },
  "luminance": 0.54182
}

Semantic roles & 50–950 ramp

primary
#AFCD7A
secondary
#6B509B
accent
#2DB95F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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