#AFBF77#AFBF77

#AFBF77 is a light, moderate yellow-green. Relative luminance 0.477; OKLCH L 77.5% C 0.097 H 118.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AFBF77
RGBrgb(175, 191, 119)
HSLhsl(73, 36%, 61%)
HSVhsv(73, 38%, 75%)
CMYKcmyk(8.4%, 0%, 37.7%, 25.1%)
CIE-LABlab(74.64, -17.12, 34.52)
CIE-LCHlch(74.64, 38.53, 116.39°)
OKLaboklab(77.54% -0.0469 0.0848)
OKLCHoklch(77.54% 0.097 118.9)
XYZxyz(39.6398, 47.7076, 24.5694)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF77 #8777BF
analogous
#BFAB77 #AFBF77 #8BBF77
triadic
#AFBF77 #77AFBF #BF77AF
tetradic
#AFBF77 #77BFAB #8777BF #BF778B
square
#AFBF77 #77BFAB #8777BF #BF778B
split-complementary
#AFBF77 #778BBF #AB77BF
monochromatic
#71803C #95A950 #AFBF77 #C7D3A1 #E0E6CA

Accessibility & contrast

On white

1.99
#AFBF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#AFBF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF77
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF77#FFFFFF#000000##000000
##AFBF771.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B872
Deuteranopia (green-blind)
#C6B87A
Tritanopia (blue-blind)
#B6B8AD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf77;
/* rgb */ color: rgb(175, 191, 119);
/* oklch */ color: oklch(77.5% 0.097 118.9);
Tailwind
colors: {
  custom: {
    50: '#c8d29f',
    500: '#afbf77',
    950: '#000000',
  },
}
SCSS
$custom: #afbf77;
$custom-light: #c8d29f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf77",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 119
  },
  "hsl": {
    "h": 73.333,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.77536,
    "c": 0.09687,
    "h": 118.9
  },
  "luminance": 0.47707
}

Semantic roles & 50–950 ramp

primary
#AFBF77
secondary
#C1BBD7
accent
#37AF51
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF77

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

Preview Lab → · Contrast checker → · Palette generator →

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