#AFBB77#AFBB77

#AFBB77 is a light, moderate yellow-green. Relative luminance 0.460; OKLCH L 76.7% C 0.091 H 116.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFBB77
RGBrgb(175, 187, 119)
HSLhsl(71, 33%, 60%)
HSVhsv(71, 36%, 73%)
CMYKcmyk(6.4%, 0%, 36.4%, 26.7%)
CIE-LABlab(73.54, -15.09, 33.09)
CIE-LCHlch(73.54, 36.37, 114.52°)
OKLaboklab(76.66% -0.0411 0.0815)
OKLCHoklch(76.66% 0.091 116.8)
XYZxyz(38.7794, 45.9868, 24.2826)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB77 #8377BB
analogous
#BBA577 #AFBB77 #8DBB77
triadic
#AFBB77 #77AFBB #BB77AF
tetradic
#AFBB77 #77BBA5 #8377BB #BB778D
square
#AFBB77 #77BBA5 #8377BB #BB778D
split-complementary
#AFBB77 #778DBB #A577BB
monochromatic
#707A3D #95A352 #AFBB77 #C7CFA0 #DFE4C9

Accessibility & contrast

On white

2.06
#AFBB77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AFBB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB77
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB77#FFFFFF#000000##000000
##AFBB771.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb77;
/* rgb */ color: rgb(175, 187, 119);
/* oklch */ color: oklch(76.7% 0.091 116.8);
Tailwind
colors: {
  custom: {
    50: '#c8cf9f',
    500: '#afbb77',
    950: '#000000',
  },
}
SCSS
$custom: #afbb77;
$custom-light: #c8cf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb77",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 119
  },
  "hsl": {
    "h": 70.588,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.76656,
    "c": 0.09127,
    "h": 116.8
  },
  "luminance": 0.45987
}

Semantic roles & 50–950 ramp

primary
#AFBB77
secondary
#BEBAD4
accent
#5EC971
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFBB77

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

Preview Lab → · Contrast checker → · Palette generator →

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