#AFCD6B#AFCD6B

#AFCD6B is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.5% C 0.130 H 123.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#AFCD6B
RGBrgb(175, 205, 107)
HSLhsl(78, 49%, 61%)
HSVhsv(78, 48%, 80%)
CMYKcmyk(14.6%, 0%, 47.8%, 19.6%)
CIE-LABlab(78.37, -25.42, 45.21)
CIE-LCHlch(78.37, 51.86, 119.35°)
OKLaboklab(80.47% -0.0711 0.1082)
OKLCHoklch(80.47% 0.13 123.3)
XYZxyz(42.1644, 53.8380, 22.0775)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD6B #896BCD
analogous
#CDBA6B #AFCD6B #7ECD6B
triadic
#AFCD6B #6BAFCD #CD6BAF
tetradic
#AFCD6B #6BCDBA #896BCD #CD6B7E
square
#AFCD6B #6BCDBA #896BCD #CD6B7E
split-complementary
#AFCD6B #6B7ECD #BA6BCD
monochromatic
#718E30 #95BB3F #AFCD6B #C8DC99 #E0ECC6

Accessibility & contrast

On white

1.78
#AFCD6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#AFCD6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD6B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD6B#FFFFFF#000000##000000
##AFCD6B1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C363
Deuteranopia (green-blind)
#D3C271
Tritanopia (blue-blind)
#B6C5B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd6b;
/* rgb */ color: rgb(175, 205, 107);
/* oklch */ color: oklch(80.5% 0.130 123.3);
Tailwind
colors: {
  custom: {
    50: '#c8dc97',
    500: '#afcd6b',
    950: '#000000',
  },
}
SCSS
$custom: #afcd6b;
$custom-light: #c8dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd6b",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 107
  },
  "hsl": {
    "h": 78.367,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.80468,
    "c": 0.12951,
    "h": 123.3
  },
  "luminance": 0.53838
}

Semantic roles & 50–950 ramp

primary
#AFCD6B
secondary
#5F4894
accent
#29BD56
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFCD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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