#AFC54E#AFC54E

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

Color values

HEX#AFC54E
RGBrgb(175, 197, 78)
HSLhsl(71, 51%, 54%)
HSVhsv(71, 60%, 77%)
CMYKcmyk(11.2%, 0%, 60.4%, 22.7%)
CIE-LABlab(75.82, -24.17, 55.66)
CIE-LCHlch(75.82, 60.68, 113.47°)
OKLaboklab(78.32% -0.0703 0.1281)
OKLCHoklch(78.32% 0.146 118.8)
XYZxyz(39.0212, 49.5968, 14.7237)
Luminance0.4960 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC54E #644EC5
analogous
#C59F4E #AFC54E #74C54E
triadic
#AFC54E #4EAFC5 #C54EAF
tetradic
#AFC54E #4EC59F #644EC5 #C54E74
square
#AFC54E #4EC59F #644EC5 #C54E74
split-complementary
#AFC54E #4E74C5 #9F4EC5
monochromatic
#657326 #8DA135 #AFC54E #C4D47C #D9E3AA

Accessibility & contrast

On white

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

On black

10.92
#AFC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC54E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC54E#FFFFFF#000000##000000
##AFC54E1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB40
Deuteranopia (green-blind)
#CFBB56
Tritanopia (blue-blind)
#B8BBAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc54e;
/* rgb */ color: rgb(175, 197, 78);
/* oklch */ color: oklch(78.3% 0.146 118.8);
Tailwind
colors: {
  custom: {
    50: '#c9d684',
    500: '#afc54e',
    950: '#000000',
  },
}
SCSS
$custom: #afc54e;
$custom-light: #c9d684;
$custom-dark: #000000;
JSON
{
  "hex": "#afc54e",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 71.092,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78324,
    "c": 0.14606,
    "h": 118.8
  },
  "luminance": 0.49597
}

Semantic roles & 50–950 ramp

primary
#AFC54E
secondary
#A79ED1
accent
#4EDA68
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#13140B
muted
#82837C

Preview Lab

Preview with #AFC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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