#AFB985#AFB985

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

Color values

HEX#AFB985
RGBrgb(175, 185, 133)
HSLhsl(72, 27%, 62%)
HSVhsv(72, 28%, 73%)
CMYKcmyk(5.4%, 0%, 28.1%, 27.5%)
CIE-LABlab(73.22, -12.21, 25.30)
CIE-LCHlch(73.22, 28.09, 115.76°)
OKLaboklab(76.48% -0.0323 0.0636)
OKLCHoklch(76.48% 0.071 117)
XYZxyz(39.2616, 45.5056, 28.9009)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB985 #8F85B9
analogous
#B9A985 #AFB985 #95B985
triadic
#AFB985 #85AFB9 #B985AF
tetradic
#AFB985 #85B9A9 #8F85B9 #B98595
square
#AFB985 #85B9A9 #8F85B9 #B98595
split-complementary
#AFB985 #8595B9 #A985B9
monochromatic
#727C47 #96A35E #AFB985 #C9CFAC #E2E6D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB985#FFFFFF#000000##000000
##AFB9851.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)
#C0B482
Deuteranopia (green-blind)
#BFB487
Tritanopia (blue-blind)
#B4B3AB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afb985;
/* rgb */ color: rgb(175, 185, 133);
/* oklch */ color: oklch(76.5% 0.071 117.0);
Tailwind
colors: {
  custom: {
    50: '#c7cea9',
    500: '#afb985',
    950: '#000000',
  },
}
SCSS
$custom: #afb985;
$custom-light: #c7cea9;
$custom-dark: #000000;
JSON
{
  "hex": "#afb985",
  "rgb": {
    "r": 175,
    "g": 185,
    "b": 133
  },
  "hsl": {
    "h": 71.538,
    "s": 27.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.76483,
    "c": 0.07134,
    "h": 117
  },
  "luminance": 0.45505
}

Semantic roles & 50–950 ramp

primary
#AFB985
secondary
#C7C3D6
accent
#40A653
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #AFB985

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

Preview Lab → · Contrast checker → · Palette generator →

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