#AFCD3A#AFCD3A

#AFCD3A is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.0% C 0.170 H 120.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#AFCD3A
RGBrgb(175, 205, 58)
HSLhsl(72, 60%, 52%)
HSVhsv(72, 72%, 80%)
CMYKcmyk(14.6%, 0%, 71.7%, 19.6%)
CIE-LABlab(77.92, -29.29, 65.71)
CIE-LCHlch(77.92, 71.95, 114.03°)
OKLaboklab(79.97% -0.0864 0.1463)
OKLCHoklch(79.97% 0.17 120.5)
XYZxyz(40.2749, 53.0822, 12.1263)
Luminance0.5308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD3A #583ACD
analogous
#CDA23A #AFCD3A #66CD3A
triadic
#AFCD3A #3AAFCD #CD3AAF
tetradic
#AFCD3A #3ACDA2 #583ACD #CD3A66
square
#AFCD3A #3ACDA2 #583ACD #CD3A66
split-complementary
#AFCD3A #3A66CD #A23ACD
monochromatic
#5F701C #88A129 #AFCD3A #C3D96B #D7E69C

Accessibility & contrast

On white

1.81
#AFCD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#AFCD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD3A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD3A#FFFFFF#000000##000000
##AFCD3A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11F
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#B9C2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd3a;
/* rgb */ color: rgb(175, 205, 58);
/* oklch */ color: oklch(80.0% 0.170 120.5);
Tailwind
colors: {
  custom: {
    50: '#cadc7a',
    500: '#afcd3a',
    950: '#000000',
  },
}
SCSS
$custom: #afcd3a;
$custom-light: #cadc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd3a",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 72.245,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79968,
    "c": 0.16993,
    "h": 120.5
  },
  "luminance": 0.53082
}

Semantic roles & 50–950 ramp

primary
#AFCD3A
secondary
#403279
accent
#45E365
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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