#AFC187#AFC187

#AFC187 is a light, moderate yellow-green. Relative luminance 0.490; OKLCH L 78.3% C 0.081 H 122.3°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#AFC187
RGBrgb(175, 193, 135)
HSLhsl(79, 32%, 64%)
HSVhsv(79, 30%, 76%)
CMYKcmyk(9.3%, 0%, 30.1%, 24.3%)
CIE-LABlab(75.45, -16.03, 27.23)
CIE-LCHlch(75.45, 31.60, 120.48°)
OKLaboklab(78.27% -0.0431 0.0682)
OKLCHoklch(78.27% 0.081 122.3)
XYZxyz(41.1220, 49.0031, 30.2091)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC187 #9987C1
analogous
#C1B687 #AFC187 #92C187
triadic
#AFC187 #87AFC1 #C187AF
tetradic
#AFC187 #87C1B6 #9987C1 #C18792
square
#AFC187 #87C1B6 #9987C1 #C18792
split-complementary
#AFC187 #8792C1 #B687C1
monochromatic
#738846 #94AC5F #AFC187 #CAD6AF #E5EBD8

Accessibility & contrast

On white

1.94
#AFC187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#AFC187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC187
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC187#FFFFFF#000000##000000
##AFC1871.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8BA83
Deuteranopia (green-blind)
#C5BA8A
Tritanopia (blue-blind)
#B4BBB2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc187;
/* rgb */ color: rgb(175, 193, 135);
/* oklch */ color: oklch(78.3% 0.081 122.3);
Tailwind
colors: {
  custom: {
    50: '#c7d3aa',
    500: '#afc187',
    950: '#000000',
  },
}
SCSS
$custom: #afc187;
$custom-light: #c7d3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#afc187",
  "rgb": {
    "r": 175,
    "g": 193,
    "b": 135
  },
  "hsl": {
    "h": 78.621,
    "s": 31.868,
    "l": 64.314
  },
  "oklch": {
    "l": 0.78271,
    "c": 0.0807,
    "h": 122.3
  },
  "luminance": 0.49003
}

Semantic roles & 50–950 ramp

primary
#AFC187
secondary
#CEC8DC
accent
#3BAB5E
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFC187

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

Preview Lab → · Contrast checker → · Palette generator →

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