#AFC46E#AFC46E

#AFC46E is a light, moderate yellow-green. Relative luminance 0.497; OKLCH L 78.5% C 0.114 H 120.3°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#AFC46E
RGBrgb(175, 196, 110)
HSLhsl(75, 42%, 60%)
HSVhsv(75, 44%, 77%)
CMYKcmyk(10.7%, 0%, 43.9%, 23.1%)
CIE-LABlab(75.90, -20.68, 40.68)
CIE-LCHlch(75.90, 45.64, 116.95°)
OKLaboklab(78.5% -0.0575 0.0984)
OKLCHoklch(78.5% 0.114 120.3)
XYZxyz(40.2337, 49.7197, 22.2261)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC46E #836EC4
analogous
#C4AE6E #AFC46E #84C46E
triadic
#AFC46E #6EAFC4 #C46EAF
tetradic
#AFC46E #6EC4AE #836EC4 #C46E84
square
#AFC46E #6EC4AE #836EC4 #C46E84
split-complementary
#AFC46E #6E84C4 #AE6EC4
monochromatic
#708335 #95AE47 #AFC46E #C7D699 #DFE7C5

Accessibility & contrast

On white

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

On black

10.94
#AFC46E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC46E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC46E#FFFFFF#000000##000000
##AFC46E1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc46e;
/* rgb */ color: rgb(175, 196, 110);
/* oklch */ color: oklch(78.5% 0.114 120.3);
Tailwind
colors: {
  custom: {
    50: '#c8d599',
    500: '#afc46e',
    950: '#000000',
  },
}
SCSS
$custom: #afc46e;
$custom-light: #c8d599;
$custom-dark: #000000;
JSON
{
  "hex": "#afc46e",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 110
  },
  "hsl": {
    "h": 74.651,
    "s": 42.157,
    "l": 60
  },
  "oklch": {
    "l": 0.78499,
    "c": 0.11395,
    "h": 120.3
  },
  "luminance": 0.4972
}

Semantic roles & 50–950 ramp

primary
#AFC46E
secondary
#BEB6D7
accent
#56D274
background
#FCFDF9
surface
#F8FAF2
border
#D1D3CC
text
#13140E
muted
#82837E

Preview Lab

Preview with #AFC46E

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

Preview Lab → · Contrast checker → · Palette generator →

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