#AFC45A#AFC45A

#AFC45A is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.2% C 0.134 H 118.9°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#AFC45A
RGBrgb(175, 196, 90)
HSLhsl(72, 47%, 56%)
HSVhsv(72, 54%, 77%)
CMYKcmyk(10.7%, 0%, 54.1%, 23.1%)
CIE-LABlab(75.66, -22.69, 50.07)
CIE-LCHlch(75.66, 54.97, 114.38°)
OKLaboklab(78.23% -0.0649 0.1175)
OKLCHoklch(78.23% 0.134 118.9)
XYZxyz(39.2650, 49.3322, 17.1244)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC45A #6F5AC4
analogous
#C4A45A #AFC45A #7AC45A
triadic
#AFC45A #5AAFC4 #C45AAF
tetradic
#AFC45A #5AC4A4 #6F5AC4 #C45A7A
square
#AFC45A #5AC4A4 #6F5AC4 #C45A7A
split-complementary
#AFC45A #5A7AC4 #A45AC4
monochromatic
#69792B #91A63B #AFC45A #C5D487 #DBE4B4

Accessibility & contrast

On white

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

On black

10.87
#AFC45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC45A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC45A#FFFFFF#000000##000000
##AFC45A1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#CDBB60
Tritanopia (blue-blind)
#B8BBAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc45a;
/* rgb */ color: rgb(175, 196, 90);
/* oklch */ color: oklch(78.2% 0.134 118.9);
Tailwind
colors: {
  custom: {
    50: '#c9d58c',
    500: '#afc45a',
    950: '#000000',
  },
}
SCSS
$custom: #afc45a;
$custom-light: #c9d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc45a",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 71.887,
    "s": 47.321,
    "l": 56.078
  },
  "oklch": {
    "l": 0.7823,
    "c": 0.13421,
    "h": 118.9
  },
  "luminance": 0.49332
}

Semantic roles & 50–950 ramp

primary
#AFC45A
secondary
#B0A7D3
accent
#51D76B
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #AFC45A

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

Preview Lab → · Contrast checker → · Palette generator →

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