#AFC54A#AFC54A

#AFC54A is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.3% C 0.149 H 118.6°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#AFC54A
RGBrgb(175, 197, 74)
HSLhsl(71, 51%, 53%)
HSVhsv(71, 62%, 77%)
CMYKcmyk(11.2%, 0%, 62.4%, 22.7%)
CIE-LABlab(75.79, -24.46, 57.33)
CIE-LCHlch(75.79, 62.33, 113.11°)
OKLaboklab(78.29% -0.0715 0.1311)
OKLCHoklch(78.29% 0.149 118.6)
XYZxyz(38.8821, 49.5412, 13.9913)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC54A #604AC5
analogous
#C59D4A #AFC54A #71C54A
triadic
#AFC54A #4AAFC5 #C54AAF
tetradic
#AFC54A #4AC59D #604AC5 #C54A71
square
#AFC54A #4AC59D #604AC5 #C54A71
split-complementary
#AFC54A #4A71C5 #9D4AC5
monochromatic
#637124 #8C9F33 #AFC54A #C3D478 #D8E3A7

Accessibility & contrast

On white

1.93
#AFC54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#AFC54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC54A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC54A#FFFFFF#000000##000000
##AFC54A1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3B
Deuteranopia (green-blind)
#CFBB52
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc54a;
/* rgb */ color: rgb(175, 197, 74);
/* oklch */ color: oklch(78.3% 0.149 118.6);
Tailwind
colors: {
  custom: {
    50: '#cad682',
    500: '#afc54a',
    950: '#000000',
  },
}
SCSS
$custom: #afc54a;
$custom-light: #cad682;
$custom-dark: #000000;
JSON
{
  "hex": "#afc54a",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 74
  },
  "hsl": {
    "h": 70.732,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78285,
    "c": 0.14929,
    "h": 118.6
  },
  "luminance": 0.49541
}

Semantic roles & 50–950 ramp

primary
#AFC54A
secondary
#A49BD0
accent
#4DDB66
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC54A

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

Preview Lab → · Contrast checker → · Palette generator →

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