#AFC66B#AFC66B

#AFC66B is a light, moderate yellow-green. Relative luminance 0.506; OKLCH L 78.9% C 0.120 H 120.9°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#AFC66B
RGBrgb(175, 198, 107)
HSLhsl(75, 44%, 60%)
HSVhsv(75, 46%, 78%)
CMYKcmyk(11.6%, 0%, 46%, 22.4%)
CIE-LABlab(76.41, -22.00, 42.81)
CIE-LCHlch(76.41, 48.14, 117.20°)
OKLaboklab(78.9% -0.0615 0.1029)
OKLCHoklch(78.9% 0.12 120.9)
XYZxyz(40.5273, 50.5637, 21.5318)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC66B #826BC6
analogous
#C6B06B #AFC66B #82C66B
triadic
#AFC66B #6BAFC6 #C66BAF
tetradic
#AFC66B #6BC6B0 #826BC6 #C66B82
square
#AFC66B #6BC6B0 #826BC6 #C66B82
split-complementary
#AFC66B #6B82C6 #B06BC6
monochromatic
#6F8433 #95B044 #AFC66B #C7D797 #DFE8C3

Accessibility & contrast

On white

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

On black

11.11
#AFC66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC66B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC66B#FFFFFF#000000##000000
##AFC66B1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD63
Deuteranopia (green-blind)
#CDBD70
Tritanopia (blue-blind)
#B6BEB1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc66b;
/* rgb */ color: rgb(175, 198, 107);
/* oklch */ color: oklch(78.9% 0.120 120.9);
Tailwind
colors: {
  custom: {
    50: '#c8d797',
    500: '#afc66b',
    950: '#000000',
  },
}
SCSS
$custom: #afc66b;
$custom-light: #c8d797;
$custom-dark: #000000;
JSON
{
  "hex": "#afc66b",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 107
  },
  "hsl": {
    "h": 75.165,
    "s": 44.39,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.1199,
    "h": 120.9
  },
  "luminance": 0.50564
}

Semantic roles & 50–950 ramp

primary
#AFC66B
secondary
#5A498C
accent
#54D474
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140E
muted
#83837F

Preview Lab

Preview with #AFC66B

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

Preview Lab → · Contrast checker → · Palette generator →

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