#AFA77A#AFA77A

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

Color values

HEX#AFA77A
RGBrgb(175, 167, 122)
HSLhsl(51, 25%, 58%)
HSVhsv(51, 30%, 69%)
CMYKcmyk(0%, 4.6%, 30.3%, 31.4%)
CIE-LABlab(68.14, -4.24, 24.37)
CIE-LCHlch(68.14, 24.73, 99.86°)
OKLaboklab(72.38% -0.0099 0.0611)
OKLCHoklch(72.38% 0.062 99.2)
XYZxyz(35.0110, 38.1573, 23.9294)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA77A #7A82AF
analogous
#AF8C7A #AFA77A #9CAF7A
triadic
#AFA77A #7AAFA7 #A77AAF
tetradic
#AFA77A #7AAF8C #7A82AF #AF7A9C
square
#AFA77A #7AAF8C #7A82AF #AF7A9C
split-complementary
#AFA77A #7A9CAF #8C7AAF
monochromatic
#6D6642 #938A59 #AFA77A #C6C0A0 #DDDAC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFA77A#FFFFFF#000000##000000
##AFA77A1.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)
#B0A477
Deuteranopia (green-blind)
#B2A87C
Tritanopia (blue-blind)
#B7A19B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa77a;
/* rgb */ color: rgb(175, 167, 122);
/* oklch */ color: oklch(72.4% 0.062 99.2);
Tailwind
colors: {
  custom: {
    50: '#c7c1a0',
    500: '#afa77a',
    950: '#000000',
  },
}
SCSS
$custom: #afa77a;
$custom-light: #c7c1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa77a",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 122
  },
  "hsl": {
    "h": 50.943,
    "s": 24.883,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72384,
    "c": 0.06192,
    "h": 99.2
  },
  "luminance": 0.38157
}

Semantic roles & 50–950 ramp

primary
#AFA77A
secondary
#B8BBCD
accent
#74C166
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120F
muted
#82817E

Preview Lab

Preview with #AFA77A

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

Preview Lab → · Contrast checker → · Palette generator →

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