#AFC166#AFC166

#AFC166 is a light, moderate yellow-green. Relative luminance 0.482; OKLCH L 77.7% C 0.118 H 118.4°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#AFC166
RGBrgb(175, 193, 102)
HSLhsl(72, 42%, 58%)
HSVhsv(72, 47%, 76%)
CMYKcmyk(9.3%, 0%, 47.2%, 24.3%)
CIE-LABlab(74.96, -20.05, 43.50)
CIE-LCHlch(74.96, 47.89, 114.75°)
OKLaboklab(77.72% -0.0564 0.1041)
OKLCHoklch(77.72% 0.118 118.4)
XYZxyz(39.1477, 48.2134, 19.8116)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC166 #7866C1
analogous
#C1A566 #AFC166 #81C166
triadic
#AFC166 #66AFC1 #C166AF
tetradic
#AFC166 #66C1A5 #7866C1 #C16681
square
#AFC166 #66C1A5 #7866C1 #C16681
split-complementary
#AFC166 #6681C1 #A566C1
monochromatic
#6C7B32 #93A643 #AFC166 #C6D392 #DDE4BD

Accessibility & contrast

On white

1.97
#AFC166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#AFC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC166
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC166#FFFFFF#000000##000000
##AFC1661.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB85E
Deuteranopia (green-blind)
#C9B96B
Tritanopia (blue-blind)
#B7B9AC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afc166;
/* rgb */ color: rgb(175, 193, 102);
/* oklch */ color: oklch(77.7% 0.118 118.4);
Tailwind
colors: {
  custom: {
    50: '#c8d393',
    500: '#afc166',
    950: '#000000',
  },
}
SCSS
$custom: #afc166;
$custom-light: #c8d393;
$custom-dark: #000000;
JSON
{
  "hex": "#afc166",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 71.868,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77715,
    "c": 0.1184,
    "h": 118.4
  },
  "luminance": 0.48213
}

Semantic roles & 50–950 ramp

primary
#AFC166
secondary
#B6AFD4
accent
#56D26E
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #AFC166

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

Preview Lab → · Contrast checker → · Palette generator →

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