#AFA86A#AFA86A

#AFA86A is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.083 H 102.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#AFA86A
RGBrgb(175, 168, 106)
HSLhsl(54, 30%, 55%)
HSVhsv(54, 39%, 69%)
CMYKcmyk(0%, 4%, 39.4%, 31.4%)
CIE-LABlab(68.14, -6.75, 32.93)
CIE-LCHlch(68.14, 33.61, 101.58°)
OKLaboklab(72.3% -0.0181 0.0806)
OKLCHoklch(72.3% 0.083 102.7)
XYZxyz(34.2839, 38.1607, 19.1926)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA86A #6A71AF
analogous
#AF856A #AFA86A #93AF6A
triadic
#AFA86A #6AAFA8 #A86AAF
tetradic
#AFA86A #6AAF85 #6A71AF #AF6A93
square
#AFA86A #6AAF85 #6A71AF #AF6A93
split-complementary
#AFA86A #6A93AF #856AAF
monochromatic
#676237 #8F884D #AFA86A #C4BF92 #DAD7BA

Accessibility & contrast

On white

2.43
#AFA86A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#AFA86A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA86A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA86A#FFFFFF#000000##000000
##AFA86A1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A465
Deuteranopia (green-blind)
#B5A86C
Tritanopia (blue-blind)
#B9A099
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa86a;
/* rgb */ color: rgb(175, 168, 106);
/* oklch */ color: oklch(72.3% 0.083 102.7);
Tailwind
colors: {
  custom: {
    50: '#c8c195',
    500: '#afa86a',
    950: '#000000',
  },
}
SCSS
$custom: #afa86a;
$custom-light: #c8c195;
$custom-dark: #000000;
JSON
{
  "hex": "#afa86a",
  "rgb": {
    "r": 175,
    "g": 168,
    "b": 106
  },
  "hsl": {
    "h": 53.913,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.08258,
    "h": 102.7
  },
  "luminance": 0.3816
}

Semantic roles & 50–950 ramp

primary
#AFA86A
secondary
#ACAFC9
accent
#6CC661
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120D
muted
#82817E

Preview Lab

Preview with #AFA86A

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

Preview Lab → · Contrast checker → · Palette generator →

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