#AFBF80#AFBF80

#AFBF80 is a light, moderate yellow-green. Relative luminance 0.479; OKLCH L 77.7% C 0.086 H 120.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#AFBF80
RGBrgb(175, 191, 128)
HSLhsl(75, 33%, 63%)
HSVhsv(75, 33%, 75%)
CMYKcmyk(8.4%, 0%, 33%, 25.1%)
CIE-LABlab(74.78, -15.97, 30.02)
CIE-LCHlch(74.78, 34.01, 118.01°)
OKLaboklab(77.7% -0.0432 0.0746)
OKLCHoklch(77.7% 0.086 120)
XYZxyz(40.2061, 47.9342, 27.5520)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF80 #9080BF
analogous
#BFAF80 #AFBF80 #90BF80
triadic
#AFBF80 #80AFBF #BF80AF
tetradic
#AFBF80 #80BFAF #9080BF #BF8090
square
#AFBF80 #80BFAF #9080BF #BF8090
split-complementary
#AFBF80 #8090BF #AF80BF
monochromatic
#728342 #95AA57 #AFBF80 #C9D4A9 #E2E8D1

Accessibility & contrast

On white

1.98
#AFBF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#AFBF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF80
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF80#FFFFFF#000000##000000
##AFBF801.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B87C
Deuteranopia (green-blind)
#C5B883
Tritanopia (blue-blind)
#B5B9AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf80;
/* rgb */ color: rgb(175, 191, 128);
/* oklch */ color: oklch(77.7% 0.086 120.0);
Tailwind
colors: {
  custom: {
    50: '#c7d2a5',
    500: '#afbf80',
    950: '#000000',
  },
}
SCSS
$custom: #afbf80;
$custom-light: #c7d2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf80",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 128
  },
  "hsl": {
    "h": 75.238,
    "s": 32.984,
    "l": 62.549
  },
  "oklch": {
    "l": 0.77697,
    "c": 0.08623,
    "h": 120
  },
  "luminance": 0.47934
}

Semantic roles & 50–950 ramp

primary
#AFBF80
secondary
#C8C2D9
accent
#3AAC57
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF80

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

Preview Lab → · Contrast checker → · Palette generator →

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