#AFAF86#AFAF86

#AFAF86 is a light, muted yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.056 H 107.7°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#AFAF86
RGBrgb(175, 175, 134)
HSLhsl(60, 20%, 61%)
HSVhsv(60, 23%, 69%)
CMYKcmyk(0%, 0%, 23.4%, 31.4%)
CIE-LABlab(70.52, -6.83, 21.10)
CIE-LCHlch(70.52, 22.18, 107.94°)
OKLaboklab(74.35% -0.017 0.0535)
OKLCHoklch(74.35% 0.056 107.7)
XYZxyz(37.3121, 41.4956, 28.5935)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAF86 #8686AF
analogous
#AF9A86 #AFAF86 #9AAF86
triadic
#AFAF86 #86AFAF #AF86AF
tetradic
#AFAF86 #86AF9A #8686AF #AF869A
square
#AFAF86 #86AF9A #8686AF #AF869A
split-complementary
#AFAF86 #869AAF #9A86AF
monochromatic
#70704A #959563 #AFAF86 #C7C7AB #E0E0D0

Accessibility & contrast

On white

2.26
#AFAF86 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#AFAF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAF86
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAF86#FFFFFF#000000##000000
##AFAF861.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB83
Deuteranopia (green-blind)
#B7AD88
Tritanopia (blue-blind)
#B5AAA4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afaf86;
/* rgb */ color: rgb(175, 175, 134);
/* oklch */ color: oklch(74.3% 0.056 107.7);
Tailwind
colors: {
  custom: {
    50: '#c7c6a9',
    500: '#afaf86',
    950: '#000000',
  },
}
SCSS
$custom: #afaf86;
$custom-light: #c7c6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afaf86",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 134
  },
  "hsl": {
    "h": 60,
    "s": 20.398,
    "l": 60.588
  },
  "oklch": {
    "l": 0.74345,
    "c": 0.05612,
    "h": 107.7
  },
  "luminance": 0.41495
}

Semantic roles & 50–950 ramp

primary
#AFAF86
secondary
#C1C1D0
accent
#479F47
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #AFAF86

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

Preview Lab → · Contrast checker → · Palette generator →

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