#AFBE8A#AFBE8A

#AFBE8A is a light, moderate yellow-green. Relative luminance 0.478; OKLCH L 77.7% C 0.072 H 121.2°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#AFBE8A
RGBrgb(175, 190, 138)
HSLhsl(77, 29%, 64%)
HSVhsv(77, 27%, 75%)
CMYKcmyk(7.9%, 0%, 27.4%, 25.5%)
CIE-LABlab(74.68, -14.07, 24.61)
CIE-LCHlch(74.68, 28.35, 119.76°)
OKLaboklab(77.68% -0.0375 0.062)
OKLCHoklch(77.68% 0.072 121.2)
XYZxyz(40.6797, 47.7759, 31.1184)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE8A #998ABE
analogous
#BEB38A #AFBE8A #95BE8A
triadic
#AFBE8A #8AAFBE #BE8AAF
tetradic
#AFBE8A #8ABEB3 #998ABE #BE8A95
square
#AFBE8A #8ABEB3 #998ABE #BE8A95
split-complementary
#AFBE8A #8A95BE #B38ABE
monochromatic
#738449 #94A863 #AFBE8A #CAD4B1 #E5EAD9

Accessibility & contrast

On white

1.99
#AFBE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#AFBE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE8A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE8A#FFFFFF#000000##000000
##AFBE8A1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B887
Deuteranopia (green-blind)
#C3B88C
Tritanopia (blue-blind)
#B3B9B0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbe8a;
/* rgb */ color: rgb(175, 190, 138);
/* oklch */ color: oklch(77.7% 0.072 121.2);
Tailwind
colors: {
  custom: {
    50: '#c7d1ac',
    500: '#afbe8a',
    950: '#000000',
  },
}
SCSS
$custom: #afbe8a;
$custom-light: #c7d1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe8a",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 138
  },
  "hsl": {
    "h": 77.308,
    "s": 28.571,
    "l": 64.314
  },
  "oklch": {
    "l": 0.77675,
    "c": 0.07247,
    "h": 121.2
  },
  "luminance": 0.47776
}

Semantic roles & 50–950 ramp

primary
#AFBE8A
secondary
#CEC9DB
accent
#3EA75D
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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