#AFBB7E#AFBB7E

#AFBB7E is a light, moderate yellow-green. Relative luminance 0.462; OKLCH L 76.8% C 0.083 H 117.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#AFBB7E
RGBrgb(175, 187, 126)
HSLhsl(72, 31%, 61%)
HSVhsv(72, 33%, 73%)
CMYKcmyk(6.4%, 0%, 32.6%, 26.7%)
CIE-LABlab(73.65, -14.19, 29.58)
CIE-LCHlch(73.65, 32.81, 115.64°)
OKLaboklab(76.78% -0.0382 0.0735)
OKLCHoklch(76.78% 0.083 117.5)
XYZxyz(39.2153, 46.1612, 26.5787)
Luminance0.4616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB7E #8A7EBB
analogous
#BBA97E #AFBB7E #91BB7E
triadic
#AFBB7E #7EAFBB #BB7EAF
tetradic
#AFBB7E #7EBBA9 #8A7EBB #BB7E91
square
#AFBB7E #7EBBA9 #8A7EBB #BB7E91
split-complementary
#AFBB7E #7E91BB #A97EBB
monochromatic
#717D42 #96A557 #AFBB7E #C8D0A6 #E1E5CE

Accessibility & contrast

On white

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

On black

10.23
#AFBB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB7E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB7E#FFFFFF#000000##000000
##AFBB7E1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57A
Deuteranopia (green-blind)
#C2B581
Tritanopia (blue-blind)
#B5B5AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb7e;
/* rgb */ color: rgb(175, 187, 126);
/* oklch */ color: oklch(76.8% 0.083 117.5);
Tailwind
colors: {
  custom: {
    50: '#c7cfa4',
    500: '#afbb7e',
    950: '#000000',
  },
}
SCSS
$custom: #afbb7e;
$custom-light: #c7cfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb7e",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 126
  },
  "hsl": {
    "h": 71.803,
    "s": 30.964,
    "l": 61.373
  },
  "oklch": {
    "l": 0.76783,
    "c": 0.08287,
    "h": 117.5
  },
  "luminance": 0.46161
}

Semantic roles & 50–950 ramp

primary
#AFBB7E
secondary
#C3BFD6
accent
#3CAA51
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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