#AFCD4A#AFCD4A

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

Color values

HEX#AFCD4A
RGBrgb(175, 205, 74)
HSLhsl(74, 57%, 55%)
HSVhsv(74, 64%, 80%)
CMYKcmyk(14.6%, 0%, 63.9%, 19.6%)
CIE-LABlab(78.03, -28.31, 59.73)
CIE-LCHlch(78.03, 66.10, 115.36°)
OKLaboklab(80.09% -0.0822 0.1362)
OKLCHoklch(80.09% 0.159 121.1)
XYZxyz(40.7471, 53.2711, 14.6130)
Luminance0.5327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD4A #684ACD
analogous
#CDA94A #AFCD4A #6ECD4A
triadic
#AFCD4A #4AAFCD #CD4AAF
tetradic
#AFCD4A #4ACDA9 #684ACD #CD4A6E
square
#AFCD4A #4ACDA9 #684ACD #CD4A6E
split-complementary
#AFCD4A #4A6ECD #A94ACD
monochromatic
#667B22 #8EAB2F #AFCD4A #C4DA7A #D9E7AA

Accessibility & contrast

On white

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

On black

11.65
#AFCD4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD4A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD4A#FFFFFF#000000##000000
##AFCD4A1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd4a;
/* rgb */ color: rgb(175, 205, 74);
/* oklch */ color: oklch(80.1% 0.159 121.1);
Tailwind
colors: {
  custom: {
    50: '#cadc83',
    500: '#afcd4a',
    950: '#000000',
  },
}
SCSS
$custom: #afcd4a;
$custom-light: #cadc83;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd4a",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 74
  },
  "hsl": {
    "h": 73.74,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80093,
    "c": 0.15903,
    "h": 121.1
  },
  "luminance": 0.53271
}

Semantic roles & 50–950 ramp

primary
#AFCD4A
secondary
#493883
accent
#48E06B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD4A

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

Preview Lab → · Contrast checker → · Palette generator →

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