#AFBB7C#AFBB7C

#AFBB7C is a light, moderate yellow-green. Relative luminance 0.461; OKLCH L 76.7% C 0.085 H 117.2°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#AFBB7C
RGBrgb(175, 187, 124)
HSLhsl(71, 32%, 61%)
HSVhsv(71, 34%, 73%)
CMYKcmyk(6.4%, 0%, 33.7%, 26.7%)
CIE-LABlab(73.62, -14.46, 30.58)
CIE-LCHlch(73.62, 33.83, 115.30°)
OKLaboklab(76.75% -0.039 0.0758)
OKLCHoklch(76.75% 0.085 117.2)
XYZxyz(39.0876, 46.1101, 25.9058)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB7C #887CBB
analogous
#BBA77C #AFBB7C #8FBB7C
triadic
#AFBB7C #7CAFBB #BB7CAF
tetradic
#AFBB7C #7CBBA7 #887CBB #BB7C8F
square
#AFBB7C #7CBBA7 #887CBB #BB7C8F
split-complementary
#AFBB7C #7C8FBB #A77CBB
monochromatic
#717C40 #95A455 #AFBB7C #C8D0A4 #E0E5CD

Accessibility & contrast

On white

2.05
#AFBB7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#AFBB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB7C
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB7C#FFFFFF#000000##000000
##AFBB7C1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B578
Deuteranopia (green-blind)
#C2B57F
Tritanopia (blue-blind)
#B5B4AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb7c;
/* rgb */ color: rgb(175, 187, 124);
/* oklch */ color: oklch(76.7% 0.085 117.2);
Tailwind
colors: {
  custom: {
    50: '#c7cfa2',
    500: '#afbb7c',
    950: '#000000',
  },
}
SCSS
$custom: #afbb7c;
$custom-light: #c7cfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb7c",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 124
  },
  "hsl": {
    "h": 71.429,
    "s": 31.658,
    "l": 60.98
  },
  "oklch": {
    "l": 0.76746,
    "c": 0.0853,
    "h": 117.2
  },
  "luminance": 0.4611
}

Semantic roles & 50–950 ramp

primary
#AFBB7C
secondary
#C2BED5
accent
#3BAA50
background
#FCFCFA
surface
#F8F9F3
border
#D1D2CD
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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