#AFBC7B#AFBC7B

#AFBC7B is a light, moderate yellow-green. Relative luminance 0.465; OKLCH L 76.9% C 0.088 H 117.7°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#AFBC7B
RGBrgb(175, 188, 123)
HSLhsl(72, 33%, 61%)
HSVhsv(72, 35%, 74%)
CMYKcmyk(6.9%, 0%, 34.6%, 26.3%)
CIE-LABlab(73.88, -15.10, 31.45)
CIE-LCHlch(73.88, 34.88, 115.65°)
OKLaboklab(76.95% -0.0409 0.0778)
OKLCHoklch(76.95% 0.088 117.7)
XYZxyz(39.2375, 46.5107, 25.6454)
Luminance0.4651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC7B #887BBC
analogous
#BCA87B #AFBC7B #8EBC7B
triadic
#AFBC7B #7BAFBC #BC7BAF
tetradic
#AFBC7B #7BBCA8 #887BBC #BC7B8E
square
#AFBC7B #7BBCA8 #887BBC #BC7B8E
split-complementary
#AFBC7B #7B8EBC #A87BBC
monochromatic
#717D3F #95A654 #AFBC7B #C8D1A4 #E0E5CC

Accessibility & contrast

On white

2.04
#AFBC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#AFBC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC7B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC7B#FFFFFF#000000##000000
##AFBC7B1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B576
Deuteranopia (green-blind)
#C3B67E
Tritanopia (blue-blind)
#B5B5AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc7b;
/* rgb */ color: rgb(175, 188, 123);
/* oklch */ color: oklch(76.9% 0.088 117.7);
Tailwind
colors: {
  custom: {
    50: '#c7d0a2',
    500: '#afbc7b',
    950: '#000000',
  },
}
SCSS
$custom: #afbc7b;
$custom-light: #c7d0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc7b",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 123
  },
  "hsl": {
    "h": 72,
    "s": 32.663,
    "l": 60.98
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.08791,
    "h": 117.7
  },
  "luminance": 0.4651
}

Semantic roles & 50–950 ramp

primary
#AFBC7B
secondary
#C2BDD6
accent
#3AAB51
background
#FCFCFA
surface
#F8F9F3
border
#D1D2CD
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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