#AFCD4F#AFCD4F

#AFCD4F is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.1% C 0.155 H 121.3°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#AFCD4F
RGBrgb(175, 205, 79)
HSLhsl(74, 56%, 56%)
HSVhsv(74, 61%, 80%)
CMYKcmyk(14.6%, 0%, 61.5%, 19.6%)
CIE-LABlab(78.08, -27.95, 57.69)
CIE-LCHlch(78.08, 64.10, 115.85°)
OKLaboklab(80.14% -0.0807 0.1325)
OKLCHoklch(80.14% 0.155 121.3)
XYZxyz(40.9223, 53.3411, 15.5356)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD4F #6D4FCD
analogous
#CDAC4F #AFCD4F #70CD4F
triadic
#AFCD4F #4FAFCD #CD4FAF
tetradic
#AFCD4F #4FCDAC #6D4FCD #CD4F70
square
#AFCD4F #4FCDAC #6D4FCD #CD4F70
split-complementary
#AFCD4F #4F70CD #AC4FCD
monochromatic
#687E24 #90AE31 #AFCD4F #C5DB7F #DAE8AE

Accessibility & contrast

On white

1.80
#AFCD4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#AFCD4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD4F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD4F#FFFFFF#000000##000000
##AFCD4F1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd4f;
/* rgb */ color: rgb(175, 205, 79);
/* oklch */ color: oklch(80.1% 0.155 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadc86',
    500: '#afcd4f',
    950: '#000000',
  },
}
SCSS
$custom: #afcd4f;
$custom-light: #cadc86;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd4f",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 74.286,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8014,
    "c": 0.15514,
    "h": 121.3
  },
  "luminance": 0.53341
}

Semantic roles & 50–950 ramp

primary
#AFCD4F
secondary
#4C3B86
accent
#49DF6D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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