#AFBC8F#AFBC8F

#AFBC8F is a light, moderate yellow-green. Relative luminance 0.471; OKLCH L 77.3% C 0.063 H 121.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#AFBC8F
RGBrgb(175, 188, 143)
HSLhsl(77, 25%, 65%)
HSVhsv(77, 24%, 74%)
CMYKcmyk(6.9%, 0%, 23.9%, 26.3%)
CIE-LABlab(74.23, -12.30, 21.33)
CIE-LCHlch(74.23, 24.62, 119.98°)
OKLaboklab(77.35% -0.0325 0.0541)
OKLCHoklch(77.35% 0.063 121)
XYZxyz(40.6198, 47.0636, 32.9255)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC8F #9C8FBC
analogous
#BCB38F #AFBC8F #99BC8F
triadic
#AFBC8F #8FAFBC #BC8FAF
tetradic
#AFBC8F #8FBCB3 #9C8FBC #BC8F99
square
#AFBC8F #8FBCB3 #9C8FBC #BC8F99
split-complementary
#AFBC8F #8F99BC #B38FBC
monochromatic
#73834E #94A569 #AFBC8F #CAD3B5 #E6EADC

Accessibility & contrast

On white

2.02
#AFBC8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#AFBC8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC8F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC8F#FFFFFF#000000##000000
##AFBC8F1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B78C
Deuteranopia (green-blind)
#C0B791
Tritanopia (blue-blind)
#B3B7B0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc8f;
/* rgb */ color: rgb(175, 188, 143);
/* oklch */ color: oklch(77.3% 0.063 121.0);
Tailwind
colors: {
  custom: {
    50: '#c7d0b0',
    500: '#afbc8f',
    950: '#000000',
  },
}
SCSS
$custom: #afbc8f;
$custom-light: #c7d0b0;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc8f",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 143
  },
  "hsl": {
    "h": 77.333,
    "s": 25.14,
    "l": 64.902
  },
  "oklch": {
    "l": 0.77345,
    "c": 0.06313,
    "h": 121
  },
  "luminance": 0.47064
}

Semantic roles & 50–950 ramp

primary
#AFBC8F
secondary
#D0CCDB
accent
#42A45E
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#131410
muted
#82827F

Preview Lab

Preview with #AFBC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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