#AFBC7F#AFBC7F

#AFBC7F is a light, moderate yellow-green. Relative luminance 0.466; OKLCH L 77.0% C 0.083 H 118.2°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#AFBC7F
RGBrgb(175, 188, 127)
HSLhsl(73, 31%, 62%)
HSVhsv(73, 32%, 74%)
CMYKcmyk(6.9%, 0%, 32.4%, 26.3%)
CIE-LABlab(73.94, -14.57, 29.43)
CIE-LCHlch(73.94, 32.84, 116.34°)
OKLaboklab(77.02% -0.0392 0.0732)
OKLCHoklch(77.02% 0.083 118.2)
XYZxyz(39.4931, 46.6129, 26.9912)
Luminance0.4661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC7F #8C7FBC
analogous
#BCAB7F #AFBC7F #91BC7F
triadic
#AFBC7F #7FAFBC #BC7FAF
tetradic
#AFBC7F #7FBCAB #8C7FBC #BC7F91
square
#AFBC7F #7FBCAB #8C7FBC #BC7F91
split-complementary
#AFBC7F #7F91BC #AB7FBC
monochromatic
#727E42 #96A757 #AFBC7F #C8D1A7 #E1E6CF

Accessibility & contrast

On white

2.03
#AFBC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#AFBC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC7F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC7F#FFFFFF#000000##000000
##AFBC7F1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B67B
Deuteranopia (green-blind)
#C2B682
Tritanopia (blue-blind)
#B5B6AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbc7f;
/* rgb */ color: rgb(175, 188, 127);
/* oklch */ color: oklch(77.0% 0.083 118.2);
Tailwind
colors: {
  custom: {
    50: '#c7d0a4',
    500: '#afbc7f',
    950: '#000000',
  },
}
SCSS
$custom: #afbc7f;
$custom-light: #c7d0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc7f",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 127
  },
  "hsl": {
    "h": 72.787,
    "s": 31.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.77021,
    "c": 0.08309,
    "h": 118.2
  },
  "luminance": 0.46613
}

Semantic roles & 50–950 ramp

primary
#AFBC7F
secondary
#C5C0D7
accent
#3BAA53
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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