#AFBB7D#AFBB7D

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

Color values

HEX#AFBB7D
RGBrgb(175, 187, 125)
HSLhsl(72, 31%, 61%)
HSVhsv(72, 33%, 73%)
CMYKcmyk(6.4%, 0%, 33.2%, 26.7%)
CIE-LABlab(73.63, -14.33, 30.08)
CIE-LCHlch(73.63, 33.32, 115.47°)
OKLaboklab(76.76% -0.0386 0.0747)
OKLCHoklch(76.76% 0.084 117.3)
XYZxyz(39.1511, 46.1355, 26.2406)
Luminance0.4613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB7D #897DBB
analogous
#BBA87D #AFBB7D #90BB7D
triadic
#AFBB7D #7DAFBB #BB7DAF
tetradic
#AFBB7D #7DBBA8 #897DBB #BB7D90
square
#AFBB7D #7DBBA8 #897DBB #BB7D90
split-complementary
#AFBB7D #7D90BB #A87DBB
monochromatic
#717C41 #95A556 #AFBB7D #C8D0A5 #E0E5CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB7D#FFFFFF#000000##000000
##AFBB7D1.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)
#C3B579
Deuteranopia (green-blind)
#C2B580
Tritanopia (blue-blind)
#B5B4AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbb7d;
/* rgb */ color: rgb(175, 187, 125);
/* oklch */ color: oklch(76.8% 0.084 117.3);
Tailwind
colors: {
  custom: {
    50: '#c7cfa3',
    500: '#afbb7d',
    950: '#000000',
  },
}
SCSS
$custom: #afbb7d;
$custom-light: #c7cfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb7d",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 125
  },
  "hsl": {
    "h": 71.613,
    "s": 31.313,
    "l": 61.176
  },
  "oklch": {
    "l": 0.76764,
    "c": 0.08408,
    "h": 117.3
  },
  "luminance": 0.46135
}

Semantic roles & 50–950 ramp

primary
#AFBB7D
secondary
#C3BED6
accent
#3BAA51
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFBB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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