#AFA76A#AFA76A

#AFA76A is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.081 H 101.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#AFA76A
RGBrgb(175, 167, 106)
HSLhsl(53, 30%, 55%)
HSVhsv(53, 39%, 69%)
CMYKcmyk(0%, 4.6%, 39.4%, 31.4%)
CIE-LABlab(67.87, -6.21, 32.58)
CIE-LCHlch(67.87, 33.17, 100.80°)
OKLaboklab(72.08% -0.0166 0.0798)
OKLCHoklch(72.08% 0.081 101.7)
XYZxyz(34.1000, 37.7929, 19.1313)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA76A #6A72AF
analogous
#AF846A #AFA76A #95AF6A
triadic
#AFA76A #6AAFA7 #A76AAF
tetradic
#AFA76A #6AAF84 #6A72AF #AF6A95
square
#AFA76A #6AAF84 #6A72AF #AF6A95
split-complementary
#AFA76A #6A95AF #846AAF
monochromatic
#676237 #8F874D #AFA76A #C4BF92 #DAD6BA

Accessibility & contrast

On white

2.45
#AFA76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#AFA76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA76A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA76A#FFFFFF#000000##000000
##AFA76A1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A365
Deuteranopia (green-blind)
#B4A76C
Tritanopia (blue-blind)
#B99F98
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa76a;
/* rgb */ color: rgb(175, 167, 106);
/* oklch */ color: oklch(72.1% 0.081 101.7);
Tailwind
colors: {
  custom: {
    50: '#c8c195',
    500: '#afa76a',
    950: '#000000',
  },
}
SCSS
$custom: #afa76a;
$custom-light: #c8c195;
$custom-dark: #000000;
JSON
{
  "hex": "#afa76a",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 106
  },
  "hsl": {
    "h": 53.043,
    "s": 30.131,
    "l": 55.098
  },
  "oklch": {
    "l": 0.72084,
    "c": 0.08147,
    "h": 101.7
  },
  "luminance": 0.37792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA76A

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

Preview Lab → · Contrast checker → · Palette generator →

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