#AFCA87#AFCA87

#AFCA87 is a light, moderate yellow-green. Relative luminance 0.531; OKLCH L 80.3% C 0.094 H 126.3°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#AFCA87
RGBrgb(175, 202, 135)
HSLhsl(84, 39%, 66%)
HSVhsv(84, 33%, 79%)
CMYKcmyk(13.4%, 0%, 33.2%, 20.8%)
CIE-LABlab(77.94, -20.55, 30.54)
CIE-LCHlch(77.94, 36.81, 123.94°)
OKLaboklab(80.25% -0.0558 0.0761)
OKLCHoklch(80.25% 0.094 126.3)
XYZxyz(43.1724, 53.1040, 30.8926)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA87 #A287CA
analogous
#CAC387 #AFCA87 #8DCA87
triadic
#AFCA87 #87AFCA #CA87AF
tetradic
#AFCA87 #87CAC3 #A287CA #CA878D
square
#AFCA87 #87CAC3 #A287CA #CA878D
split-complementary
#AFCA87 #878DCA #C387CA
monochromatic
#739542 #93B75D #AFCA87 #CBDDB1 #E8EFDC

Accessibility & contrast

On white

1.81
#AFCA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#AFCA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA87
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA87#FFFFFF#000000##000000
##AFCA871.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C282
Deuteranopia (green-blind)
#CDC08A
Tritanopia (blue-blind)
#B3C4B9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afca87;
/* rgb */ color: rgb(175, 202, 135);
/* oklch */ color: oklch(80.3% 0.094 126.3);
Tailwind
colors: {
  custom: {
    50: '#c7daaa',
    500: '#afca87',
    950: '#000000',
  },
}
SCSS
$custom: #afca87;
$custom-light: #c7daaa;
$custom-dark: #000000;
JSON
{
  "hex": "#afca87",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 135
  },
  "hsl": {
    "h": 84.179,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80254,
    "c": 0.09433,
    "h": 126.3
  },
  "luminance": 0.53104
}

Semantic roles & 50–950 ramp

primary
#AFCA87
secondary
#74599C
accent
#34B267
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #AFCA87

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

Preview Lab → · Contrast checker → · Palette generator →

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