#AFCB87#AFCB87

#AFCB87 is a light, moderate yellow-green. Relative luminance 0.536; OKLCH L 80.5% C 0.096 H 126.6°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#AFCB87
RGBrgb(175, 203, 135)
HSLhsl(85, 40%, 66%)
HSVhsv(85, 33%, 80%)
CMYKcmyk(13.8%, 0%, 33.5%, 20.4%)
CIE-LABlab(78.21, -21.04, 30.91)
CIE-LCHlch(78.21, 37.39, 124.25°)
OKLaboklab(80.48% -0.0572 0.0769)
OKLCHoklch(80.48% 0.096 126.6)
XYZxyz(43.4078, 53.5748, 30.9711)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCB87 #A387CB
analogous
#CBC587 #AFCB87 #8DCB87
triadic
#AFCB87 #87AFCB #CB87AF
tetradic
#AFCB87 #87CBC5 #A387CB #CB878D
square
#AFCB87 #87CBC5 #A387CB #CB878D
split-complementary
#AFCB87 #878DCB #C587CB
monochromatic
#739641 #93B85C #AFCB87 #CBDEB2 #E8F0DC

Accessibility & contrast

On white

1.79
#AFCB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#AFCB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCB87
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCB87#FFFFFF#000000##000000
##AFCB871.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C382
Deuteranopia (green-blind)
#CEC18A
Tritanopia (blue-blind)
#B3C5BA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcb87;
/* rgb */ color: rgb(175, 203, 135);
/* oklch */ color: oklch(80.5% 0.096 126.6);
Tailwind
colors: {
  custom: {
    50: '#c7dbaa',
    500: '#afcb87',
    950: '#000000',
  },
}
SCSS
$custom: #afcb87;
$custom-light: #c7dbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afcb87",
  "rgb": {
    "r": 175,
    "g": 203,
    "b": 135
  },
  "hsl": {
    "h": 84.706,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.80476,
    "c": 0.09585,
    "h": 126.6
  },
  "luminance": 0.53575
}

Semantic roles & 50–950 ramp

primary
#AFCB87
secondary
#75599D
accent
#33B367
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCB87

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

Preview Lab → · Contrast checker → · Palette generator →

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