#AFCD6F#AFCD6F

#AFCD6F is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.5% C 0.125 H 123.7°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#AFCD6F
RGBrgb(175, 205, 111)
HSLhsl(79, 48%, 62%)
HSVhsv(79, 46%, 80%)
CMYKcmyk(14.6%, 0%, 45.9%, 19.6%)
CIE-LABlab(78.42, -24.99, 43.31)
CIE-LCHlch(78.42, 50.01, 119.98°)
OKLaboklab(80.53% -0.0696 0.1043)
OKLCHoklch(80.53% 0.125 123.7)
XYZxyz(42.3797, 53.9241, 23.2116)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD6F #8D6FCD
analogous
#CDBC6F #AFCD6F #80CD6F
triadic
#AFCD6F #6FAFCD #CD6FAF
tetradic
#AFCD6F #6FCDBC #8D6FCD #CD6F80
square
#AFCD6F #6FCDBC #8D6FCD #CD6F80
split-complementary
#AFCD6F #6F80CD #BC6FCD
monochromatic
#729032 #96BD42 #AFCD6F #C8DD9C #E1EDCA

Accessibility & contrast

On white

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

On black

11.78
#AFCD6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD6F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD6F#FFFFFF#000000##000000
##AFCD6F1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C367
Deuteranopia (green-blind)
#D2C274
Tritanopia (blue-blind)
#B5C5B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd6f;
/* rgb */ color: rgb(175, 205, 111);
/* oklch */ color: oklch(80.5% 0.125 123.7);
Tailwind
colors: {
  custom: {
    50: '#c8dc9a',
    500: '#afcd6f',
    950: '#000000',
  },
}
SCSS
$custom: #afcd6f;
$custom-light: #c8dc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd6f",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 111
  },
  "hsl": {
    "h": 79.149,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80525,
    "c": 0.12539,
    "h": 123.7
  },
  "luminance": 0.53924
}

Semantic roles & 50–950 ramp

primary
#AFCD6F
secondary
#624A96
accent
#2ABC58
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFCD6F

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

Preview Lab → · Contrast checker → · Palette generator →

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