#AFB980#AFB980

#AFB980 is a light, moderate yellow-green. Relative luminance 0.454; OKLCH L 76.4% C 0.078 H 116.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#AFB980
RGBrgb(175, 185, 128)
HSLhsl(71, 29%, 61%)
HSVhsv(71, 31%, 73%)
CMYKcmyk(5.4%, 0%, 30.8%, 27.5%)
CIE-LABlab(73.14, -12.90, 27.84)
CIE-LCHlch(73.14, 30.68, 114.86°)
OKLaboklab(76.38% -0.0344 0.0695)
OKLCHoklch(76.38% 0.078 116.4)
XYZxyz(38.9243, 45.3707, 27.1247)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB980 #8A80B9
analogous
#B9A780 #AFB980 #93B980
triadic
#AFB980 #80AFB9 #B980AF
tetradic
#AFB980 #80B9A7 #8A80B9 #B98093
square
#AFB980 #80B9A7 #8A80B9 #B98093
split-complementary
#AFB980 #8093B9 #A780B9
monochromatic
#717B44 #96A259 #AFB980 #C8CFA7 #E1E4CF

Accessibility & contrast

On white

2.08
#AFB980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#AFB980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB980
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB980#FFFFFF#000000##000000
##AFB9801.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37C
Deuteranopia (green-blind)
#C0B482
Tritanopia (blue-blind)
#B5B3AA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afb980;
/* rgb */ color: rgb(175, 185, 128);
/* oklch */ color: oklch(76.4% 0.078 116.4);
Tailwind
colors: {
  custom: {
    50: '#c7cea5',
    500: '#afb980',
    950: '#000000',
  },
}
SCSS
$custom: #afb980;
$custom-light: #c7cea5;
$custom-dark: #000000;
JSON
{
  "hex": "#afb980",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 128
  },
  "hsl": {
    "h": 70.526,
    "s": 28.934,
    "l": 61.373
  },
  "oklch": {
    "l": 0.76384,
    "c": 0.07757,
    "h": 116.4
  },
  "luminance": 0.4537
}

Semantic roles & 50–950 ramp

primary
#AFB980
secondary
#C3C0D5
accent
#3EA850
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB980

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

Preview Lab → · Contrast checker → · Palette generator →

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