#AFB984#AFB984

#AFB984 is a light, moderate yellow-green. Relative luminance 0.455; OKLCH L 76.5% C 0.073 H 116.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#AFB984
RGBrgb(175, 185, 132)
HSLhsl(71, 27%, 62%)
HSVhsv(71, 29%, 73%)
CMYKcmyk(5.4%, 0%, 28.6%, 27.5%)
CIE-LABlab(73.21, -12.35, 25.81)
CIE-LCHlch(73.21, 28.61, 115.57°)
OKLaboklab(76.46% -0.0328 0.0648)
OKLCHoklch(76.46% 0.073 116.8)
XYZxyz(39.1928, 45.4781, 28.5387)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB984 #8E84B9
analogous
#B9A984 #AFB984 #95B984
triadic
#AFB984 #84AFB9 #B984AF
tetradic
#AFB984 #84B9A9 #8E84B9 #B98495
square
#AFB984 #84B9A9 #8E84B9 #B98495
split-complementary
#AFB984 #8495B9 #A984B9
monochromatic
#727C47 #96A35D #AFB984 #C8CFAB #E2E5D2

Accessibility & contrast

On white

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

On black

10.10
#AFB984 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB984
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB984#FFFFFF#000000##000000
##AFB9841.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B381
Deuteranopia (green-blind)
#BFB486
Tritanopia (blue-blind)
#B5B3AB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afb984;
/* rgb */ color: rgb(175, 185, 132);
/* oklch */ color: oklch(76.5% 0.073 116.8);
Tailwind
colors: {
  custom: {
    50: '#c7cea8',
    500: '#afb984',
    950: '#000000',
  },
}
SCSS
$custom: #afb984;
$custom-light: #c7cea8;
$custom-dark: #000000;
JSON
{
  "hex": "#afb984",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 132
  },
  "hsl": {
    "h": 71.321,
    "s": 27.461,
    "l": 62.157
  },
  "oklch": {
    "l": 0.76463,
    "c": 0.07259,
    "h": 116.8
  },
  "luminance": 0.45478
}

Semantic roles & 50–950 ramp

primary
#AFB984
secondary
#C6C3D6
accent
#3FA653
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB984

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

Preview Lab → · Contrast checker → · Palette generator →

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