#AFCF8A#AFCF8A

#AFCF8A is a light, moderate yellow-green. Relative luminance 0.556; OKLCH L 81.4% C 0.098 H 128.6°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#AFCF8A
RGBrgb(175, 207, 138)
HSLhsl(88, 42%, 68%)
HSVhsv(88, 33%, 81%)
CMYKcmyk(15.5%, 0%, 33.3%, 18.8%)
CIE-LABlab(79.37, -22.60, 30.88)
CIE-LCHlch(79.37, 38.27, 126.20°)
OKLaboklab(81.42% -0.0615 0.0769)
OKLCHoklch(81.42% 0.098 128.6)
XYZxyz(44.5788, 55.5741, 32.4181)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF8A #AA8ACF
analogous
#CFCC8A #AFCF8A #8DCF8A
triadic
#AFCF8A #8AAFCF #CF8AAF
tetradic
#AFCF8A #8ACFCC #AA8ACF #CF8A8D
square
#AFCF8A #8ACFCC #AA8ACF #CF8A8D
split-complementary
#AFCF8A #8A8DCF #CC8ACF
monochromatic
#739E41 #91BD5F #AFCF8A #CDE1B5 #EAF3E1

Accessibility & contrast

On white

1.73
#AFCF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#AFCF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF8A
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF8A#FFFFFF#000000##000000
##AFCF8A1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#D1C48D
Tritanopia (blue-blind)
#B2C9BD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afcf8a;
/* rgb */ color: rgb(175, 207, 138);
/* oklch */ color: oklch(81.4% 0.098 128.6);
Tailwind
colors: {
  custom: {
    50: '#c7ddac',
    500: '#afcf8a',
    950: '#000000',
  },
}
SCSS
$custom: #afcf8a;
$custom-light: #c7ddac;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf8a",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 87.826,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81419,
    "c": 0.09848,
    "h": 128.6
  },
  "luminance": 0.55575
}

Semantic roles & 50–950 ramp

primary
#AFCF8A
secondary
#7C5AA4
accent
#31B56E
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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