#AFB486#AFB486

#AFB486 is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.4% C 0.063 H 113.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#AFB486
RGBrgb(175, 180, 134)
HSLhsl(67, 23%, 62%)
HSVhsv(67, 26%, 71%)
CMYKcmyk(2.8%, 0%, 25.6%, 29.4%)
CIE-LABlab(71.88, -9.47, 22.95)
CIE-LCHlch(71.88, 24.82, 112.42°)
OKLaboklab(75.42% -0.0245 0.0579)
OKLCHoklch(75.42% 0.063 113)
XYZxyz(38.3034, 43.4781, 28.9239)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB486 #8B86B4
analogous
#B4A286 #AFB486 #98B486
triadic
#AFB486 #86AFB4 #B486AF
tetradic
#AFB486 #86B4A2 #8B86B4 #B48698
square
#AFB486 #86B4A2 #8B86B4 #B48698
split-complementary
#AFB486 #8698B4 #A286B4
monochromatic
#717649 #969C61 #AFB486 #C8CBAC #E1E3D2

Accessibility & contrast

On white

2.17
#AFB486 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#AFB486 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB486
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB486#FFFFFF#000000##000000
##AFB4861.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB083
Deuteranopia (green-blind)
#BBB188
Tritanopia (blue-blind)
#B5AFA8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb486;
/* rgb */ color: rgb(175, 180, 134);
/* oklch */ color: oklch(75.4% 0.063 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7caa9',
    500: '#afb486',
    950: '#000000',
  },
}
SCSS
$custom: #afb486;
$custom-light: #c7caa9;
$custom-dark: #000000;
JSON
{
  "hex": "#afb486",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 134
  },
  "hsl": {
    "h": 66.522,
    "s": 23.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.75421,
    "c": 0.06292,
    "h": 113
  },
  "luminance": 0.43478
}

Semantic roles & 50–950 ramp

primary
#AFB486
secondary
#C4C2D3
accent
#44A24E
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFB486

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

Preview Lab → · Contrast checker → · Palette generator →

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