#AFC46A#AFC46A

#AFC46A is a light, moderate yellow-green. Relative luminance 0.496; OKLCH L 78.4% C 0.118 H 120.0°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#AFC46A
RGBrgb(175, 196, 106)
HSLhsl(74, 43%, 59%)
HSVhsv(74, 46%, 77%)
CMYKcmyk(10.7%, 0%, 45.9%, 23.1%)
CIE-LABlab(75.84, -21.12, 42.61)
CIE-LCHlch(75.84, 47.55, 116.37°)
OKLaboklab(78.44% -0.0591 0.1024)
OKLCHoklch(78.44% 0.118 120)
XYZxyz(40.0208, 49.6345, 21.1049)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC46A #7F6AC4
analogous
#C4AC6A #AFC46A #82C46A
triadic
#AFC46A #6AAFC4 #C46AAF
tetradic
#AFC46A #6AC4AC #7F6AC4 #C46A82
square
#AFC46A #6AC4AC #7F6AC4 #C46A82
split-complementary
#AFC46A #6A82C4 #AC6AC4
monochromatic
#6F8133 #94AC44 #AFC46A #C7D596 #DEE7C2

Accessibility & contrast

On white

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

On black

10.93
#AFC46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC46A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC46A#FFFFFF#000000##000000
##AFC46A1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB62
Deuteranopia (green-blind)
#CBBB6F
Tritanopia (blue-blind)
#B6BCAF
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc46a;
/* rgb */ color: rgb(175, 196, 106);
/* oklch */ color: oklch(78.4% 0.118 120.0);
Tailwind
colors: {
  custom: {
    50: '#c8d596',
    500: '#afc46a',
    950: '#000000',
  },
}
SCSS
$custom: #afc46a;
$custom-light: #c8d596;
$custom-dark: #000000;
JSON
{
  "hex": "#afc46a",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 106
  },
  "hsl": {
    "h": 74,
    "s": 43.269,
    "l": 59.216
  },
  "oklch": {
    "l": 0.7844,
    "c": 0.11823,
    "h": 120
  },
  "luminance": 0.49634
}

Semantic roles & 50–950 ramp

primary
#AFC46A
secondary
#BCB3D6
accent
#55D372
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140D
muted
#82837E

Preview Lab

Preview with #AFC46A

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

Preview Lab → · Contrast checker → · Palette generator →

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