#AFC66F#AFC66F

#AFC66F is a light, moderate yellow-green. Relative luminance 0.506; OKLCH L 79.0% C 0.116 H 121.2°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#AFC66F
RGBrgb(175, 198, 111)
HSLhsl(76, 43%, 61%)
HSVhsv(76, 44%, 78%)
CMYKcmyk(11.6%, 0%, 43.9%, 22.4%)
CIE-LABlab(76.47, -21.56, 40.89)
CIE-LCHlch(76.47, 46.23, 117.80°)
OKLaboklab(78.96% -0.0599 0.0989)
OKLCHoklch(78.96% 0.116 121.2)
XYZxyz(40.7426, 50.6499, 22.6658)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC66F #866FC6
analogous
#C6B16F #AFC66F #83C66F
triadic
#AFC66F #6FAFC6 #C66FAF
tetradic
#AFC66F #6FC6B1 #866FC6 #C66F83
square
#AFC66F #6FC6B1 #866FC6 #C66F83
split-complementary
#AFC66F #6F83C6 #B16FC6
monochromatic
#708635 #95B246 #AFC66F #C7D79B #E0E9C7

Accessibility & contrast

On white

1.89
#AFC66F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#AFC66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC66F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC66F#FFFFFF#000000##000000
##AFC66F1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBD68
Deuteranopia (green-blind)
#CDBD74
Tritanopia (blue-blind)
#B6BEB1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc66f;
/* rgb */ color: rgb(175, 198, 111);
/* oklch */ color: oklch(79.0% 0.116 121.2);
Tailwind
colors: {
  custom: {
    50: '#c8d79a',
    500: '#afc66f',
    950: '#000000',
  },
}
SCSS
$custom: #afc66f;
$custom-light: #c8d79a;
$custom-dark: #000000;
JSON
{
  "hex": "#afc66f",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 111
  },
  "hsl": {
    "h": 75.862,
    "s": 43.284,
    "l": 60.588
  },
  "oklch": {
    "l": 0.7896,
    "c": 0.11563,
    "h": 121.2
  },
  "luminance": 0.5065
}

Semantic roles & 50–950 ramp

primary
#AFC66F
secondary
#5D4C8E
accent
#2FB653
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFC66F

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

Preview Lab → · Contrast checker → · Palette generator →

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