#AFCC86#AFCC86

#AFCC86 is a light, moderate yellow-green. Relative luminance 0.540; OKLCH L 80.7% C 0.099 H 126.8°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#AFCC86
RGBrgb(175, 204, 134)
HSLhsl(85, 41%, 66%)
HSVhsv(85, 34%, 80%)
CMYKcmyk(14.2%, 0%, 34.3%, 20%)
CIE-LABlab(78.47, -21.68, 31.77)
CIE-LCHlch(78.47, 38.46, 124.31°)
OKLaboklab(80.68% -0.059 0.0789)
OKLCHoklch(80.68% 0.099 126.8)
XYZxyz(43.5746, 54.0206, 30.6810)
Luminance0.5402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC86 #A386CC
analogous
#CCC686 #AFCC86 #8CCC86
triadic
#AFCC86 #86AFCC #CC86AF
tetradic
#AFCC86 #86CCC6 #A386CC #CC868C
square
#AFCC86 #86CCC6 #A386CC #CC868C
split-complementary
#AFCC86 #868CCC #C686CC
monochromatic
#739840 #93BA5B #AFCC86 #CBDEB1 #E8F0DC

Accessibility & contrast

On white

1.78
#AFCC86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#AFCC86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC86
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC86#FFFFFF#000000##000000
##AFCC861.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C381
Deuteranopia (green-blind)
#CFC289
Tritanopia (blue-blind)
#B3C6BA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcc86;
/* rgb */ color: rgb(175, 204, 134);
/* oklch */ color: oklch(80.7% 0.099 126.8);
Tailwind
colors: {
  custom: {
    50: '#c7dbaa',
    500: '#afcc86',
    950: '#000000',
  },
}
SCSS
$custom: #afcc86;
$custom-light: #c7dbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc86",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 134
  },
  "hsl": {
    "h": 84.857,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.80679,
    "c": 0.09853,
    "h": 126.8
  },
  "luminance": 0.54021
}

Semantic roles & 50–950 ramp

primary
#AFCC86
secondary
#75589E
accent
#32B468
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCC86

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

Preview Lab → · Contrast checker → · Palette generator →

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