#AFC54C#AFC54C

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

Color values

HEX#AFC54C
RGBrgb(175, 197, 76)
HSLhsl(71, 51%, 54%)
HSVhsv(71, 61%, 77%)
CMYKcmyk(11.2%, 0%, 61.4%, 22.7%)
CIE-LABlab(75.80, -24.32, 56.50)
CIE-LCHlch(75.80, 61.51, 113.29°)
OKLaboklab(78.3% -0.0709 0.1296)
OKLCHoklch(78.3% 0.148 118.7)
XYZxyz(38.9506, 49.5685, 14.3518)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC54C #624CC5
analogous
#C59E4C #AFC54C #72C54C
triadic
#AFC54C #4CAFC5 #C54CAF
tetradic
#AFC54C #4CC59E #624CC5 #C54C72
square
#AFC54C #4CC59E #624CC5 #C54C72
split-complementary
#AFC54C #4C72C5 #9E4CC5
monochromatic
#647225 #8CA034 #AFC54C #C4D47A #D8E3A8

Accessibility & contrast

On white

1.92
#AFC54C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC54C#FFFFFF#000000##000000
##AFC54C1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3E
Deuteranopia (green-blind)
#CFBB54
Tritanopia (blue-blind)
#B9BBAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc54c;
/* rgb */ color: rgb(175, 197, 76);
/* oklch */ color: oklch(78.3% 0.148 118.7);
Tailwind
colors: {
  custom: {
    50: '#c9d683',
    500: '#afc54c',
    950: '#000000',
  },
}
SCSS
$custom: #afc54c;
$custom-light: #c9d683;
$custom-dark: #000000;
JSON
{
  "hex": "#afc54c",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 70.909,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78304,
    "c": 0.14769,
    "h": 118.7
  },
  "luminance": 0.49568
}

Semantic roles & 50–950 ramp

primary
#AFC54C
secondary
#A69CD0
accent
#4DDB67
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#13140B
muted
#82837C

Preview Lab

Preview with #AFC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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