#AFBC77#AFBC77

#AFBC77 is a light, moderate yellow-green. Relative luminance 0.464; OKLCH L 76.9% C 0.093 H 117.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFBC77
RGBrgb(175, 188, 119)
HSLhsl(71, 34%, 60%)
HSVhsv(71, 37%, 74%)
CMYKcmyk(6.9%, 0%, 36.7%, 26.3%)
CIE-LABlab(73.81, -15.60, 33.45)
CIE-LCHlch(73.81, 36.91, 115.01°)
OKLaboklab(76.88% -0.0425 0.0823)
OKLCHoklch(76.88% 0.093 117.3)
XYZxyz(38.9923, 46.4126, 24.3536)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC77 #8477BC
analogous
#BCA677 #AFBC77 #8DBC77
triadic
#AFBC77 #77AFBC #BC77AF
tetradic
#AFBC77 #77BCA6 #8477BC #BC778D
square
#AFBC77 #77BCA6 #8477BC #BC778D
split-complementary
#AFBC77 #778DBC #A677BC
monochromatic
#707C3D #95A551 #AFBC77 #C7D0A0 #DFE4C9

Accessibility & contrast

On white

2.04
#AFBC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#AFBC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC77
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC77#FFFFFF#000000##000000
##AFBC771.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B572
Deuteranopia (green-blind)
#C3B67A
Tritanopia (blue-blind)
#B6B5AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc77;
/* rgb */ color: rgb(175, 188, 119);
/* oklch */ color: oklch(76.9% 0.093 117.3);
Tailwind
colors: {
  custom: {
    50: '#c8d09f',
    500: '#afbc77',
    950: '#000000',
  },
}
SCSS
$custom: #afbc77;
$custom-light: #c8d09f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc77",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 119
  },
  "hsl": {
    "h": 71.304,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.76875,
    "c": 0.09267,
    "h": 117.3
  },
  "luminance": 0.46412
}

Semantic roles & 50–950 ramp

primary
#AFBC77
secondary
#BFBAD5
accent
#39AD4F
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC77

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

Preview Lab → · Contrast checker → · Palette generator →

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