#AFC64A#AFC64A

#AFC64A is a light, vivid yellow-green. Relative luminance 0.500; OKLCH L 78.5% C 0.150 H 118.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#AFC64A
RGBrgb(175, 198, 74)
HSLhsl(71, 52%, 53%)
HSVhsv(71, 63%, 78%)
CMYKcmyk(11.6%, 0%, 62.6%, 22.4%)
CIE-LABlab(76.07, -24.95, 57.63)
CIE-LCHlch(76.07, 62.80, 113.41°)
OKLaboklab(78.51% -0.0728 0.1317)
OKLCHoklch(78.51% 0.151 118.9)
XYZxyz(39.1100, 49.9968, 14.0672)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC64A #614AC6
analogous
#C69F4A #AFC64A #71C64A
triadic
#AFC64A #4AAFC6 #C64AAF
tetradic
#AFC64A #4AC69F #614AC6 #C64A71
square
#AFC64A #4AC69F #614AC6 #C64A71
split-complementary
#AFC64A #4A71C6 #9F4AC6
monochromatic
#637224 #8CA032 #AFC64A #C4D579 #D8E3A7

Accessibility & contrast

On white

1.91
#AFC64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#AFC64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC64A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC64A#FFFFFF#000000##000000
##AFC64A1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB3B
Deuteranopia (green-blind)
#D0BC53
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc64a;
/* rgb */ color: rgb(175, 198, 74);
/* oklch */ color: oklch(78.5% 0.150 118.9);
Tailwind
colors: {
  custom: {
    50: '#cad782',
    500: '#afc64a',
    950: '#000000',
  },
}
SCSS
$custom: #afc64a;
$custom-light: #cad782;
$custom-dark: #000000;
JSON
{
  "hex": "#afc64a",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 71.129,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7851,
    "c": 0.1505,
    "h": 118.9
  },
  "luminance": 0.49997
}

Semantic roles & 50–950 ramp

primary
#AFC64A
secondary
#A59BD1
accent
#4CDC67
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC64A

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

Preview Lab → · Contrast checker → · Palette generator →

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