#AFCD7C#AFCD7C

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

Color values

HEX#AFCD7C
RGBrgb(175, 205, 124)
HSLhsl(82, 45%, 65%)
HSVhsv(82, 40%, 80%)
CMYKcmyk(14.6%, 0%, 39.5%, 19.6%)
CIE-LABlab(78.60, -23.47, 37.05)
CIE-LCHlch(78.60, 43.85, 122.35°)
OKLaboklab(80.73% -0.0645 0.0908)
OKLCHoklch(80.73% 0.111 125.4)
XYZxyz(43.1483, 54.2315, 27.2594)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD7C #9A7CCD
analogous
#CDC27C #AFCD7C #87CD7C
triadic
#AFCD7C #7CAFCD #CD7CAF
tetradic
#AFCD7C #7CCDC2 #9A7CCD #CD7C87
square
#AFCD7C #7CCDC2 #9A7CCD #CD7C87
split-complementary
#AFCD7C #7C87CD #C27CCD
monochromatic
#739639 #94BC50 #AFCD7C #CADEA8 #E5EFD5

Accessibility & contrast

On white

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

On black

11.85
#AFCD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD7C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD7C#FFFFFF#000000##000000
##AFCD7C1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd7c;
/* rgb */ color: rgb(175, 205, 124);
/* oklch */ color: oklch(80.7% 0.111 125.4);
Tailwind
colors: {
  custom: {
    50: '#c8dca3',
    500: '#afcd7c',
    950: '#000000',
  },
}
SCSS
$custom: #afcd7c;
$custom-light: #c8dca3;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd7c",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 82.222,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.80727,
    "c": 0.11137,
    "h": 125.4
  },
  "luminance": 0.54232
}

Semantic roles & 50–950 ramp

primary
#AFCD7C
secondary
#6D519C
accent
#2EB861
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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