#AFCC87#AFCC87

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

Color values

HEX#AFCC87
RGBrgb(175, 204, 135)
HSLhsl(85, 40%, 66%)
HSVhsv(85, 34%, 80%)
CMYKcmyk(14.2%, 0%, 33.8%, 20%)
CIE-LABlab(78.49, -21.54, 31.27)
CIE-LCHlch(78.49, 37.97, 124.56°)
OKLaboklab(80.7% -0.0586 0.0778)
OKLCHoklch(80.7% 0.097 127)
XYZxyz(43.6447, 54.0486, 31.0500)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC87 #A487CC
analogous
#CCC787 #AFCC87 #8DCC87
triadic
#AFCC87 #87AFCC #CC87AF
tetradic
#AFCC87 #87CCC7 #A487CC #CC878D
square
#AFCC87 #87CCC7 #A487CC #CC878D
split-complementary
#AFCC87 #878DCC #C787CC
monochromatic
#739841 #92BA5C #AFCC87 #CCDEB2 #E8F1DD

Accessibility & contrast

On white

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

On black

11.81
#AFCC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC87
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC87#FFFFFF#000000##000000
##AFCC871.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcc87;
/* rgb */ color: rgb(175, 204, 135);
/* oklch */ color: oklch(80.7% 0.097 127.0);
Tailwind
colors: {
  custom: {
    50: '#c7dbaa',
    500: '#afcc87',
    950: '#000000',
  },
}
SCSS
$custom: #afcc87;
$custom-light: #c7dbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc87",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 85.217,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80697,
    "c": 0.09736,
    "h": 127
  },
  "luminance": 0.54049
}

Semantic roles & 50–950 ramp

primary
#AFCC87
secondary
#76599F
accent
#32B368
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCC87

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

Preview Lab → · Contrast checker → · Palette generator →

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