#AFBD77#AFBD77

#AFBD77 is a light, moderate yellow-green. Relative luminance 0.468; OKLCH L 77.1% C 0.094 H 117.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#AFBD77
RGBrgb(175, 189, 119)
HSLhsl(72, 35%, 60%)
HSVhsv(72, 37%, 74%)
CMYKcmyk(7.4%, 0%, 37%, 25.9%)
CIE-LABlab(74.09, -16.11, 33.80)
CIE-LCHlch(74.09, 37.45, 115.48°)
OKLaboklab(77.1% -0.044 0.0831)
OKLCHoklch(77.1% 0.094 117.9)
XYZxyz(39.2066, 46.8413, 24.4250)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD77 #8577BD
analogous
#BDA877 #AFBD77 #8CBD77
triadic
#AFBD77 #77AFBD #BD77AF
tetradic
#AFBD77 #77BDA8 #8577BD #BD778C
square
#AFBD77 #77BDA8 #8577BD #BD778C
split-complementary
#AFBD77 #778CBD #A877BD
monochromatic
#707D3D #95A651 #AFBD77 #C7D1A0 #DFE5C9

Accessibility & contrast

On white

2.03
#AFBD77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#AFBD77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD77
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD77#FFFFFF#000000##000000
##AFBD771.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B672
Deuteranopia (green-blind)
#C4B77A
Tritanopia (blue-blind)
#B6B6AC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbd77;
/* rgb */ color: rgb(175, 189, 119);
/* oklch */ color: oklch(77.1% 0.094 117.9);
Tailwind
colors: {
  custom: {
    50: '#c8d09f',
    500: '#afbd77',
    950: '#000000',
  },
}
SCSS
$custom: #afbd77;
$custom-light: #c8d09f;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd77",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 119
  },
  "hsl": {
    "h": 72,
    "s": 34.653,
    "l": 60.392
  },
  "oklch": {
    "l": 0.77095,
    "c": 0.09406,
    "h": 117.9
  },
  "luminance": 0.46841
}

Semantic roles & 50–950 ramp

primary
#AFBD77
secondary
#C0BBD5
accent
#38AD50
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBD77

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

Preview Lab → · Contrast checker → · Palette generator →

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