#AFA77E#AFA77E

#AFA77E is a light, muted yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.057 H 98.3°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#AFA77E
RGBrgb(175, 167, 126)
HSLhsl(50, 23%, 59%)
HSVhsv(50, 28%, 69%)
CMYKcmyk(0%, 4.6%, 28%, 31.4%)
CIE-LABlab(68.21, -3.70, 22.30)
CIE-LCHlch(68.21, 22.60, 99.41°)
OKLaboklab(72.47% -0.0082 0.0562)
OKLCHoklch(72.47% 0.057 98.3)
XYZxyz(35.2640, 38.2585, 25.2616)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA77E #7E86AF
analogous
#AF8F7E #AFA77E #9FAF7E
triadic
#AFA77E #7EAFA7 #A77EAF
tetradic
#AFA77E #7EAF8F #7E86AF #AF7E9F
square
#AFA77E #7EAF8F #7E86AF #AF7E9F
split-complementary
#AFA77E #7E9FAF #8F7EAF
monochromatic
#6E6744 #948B5C #AFA77E #C6C1A4 #DEDBCA

Accessibility & contrast

On white

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

On black

8.65
#AFA77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA77E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA77E#FFFFFF#000000##000000
##AFA77E1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA47B
Deuteranopia (green-blind)
#B2A87F
Tritanopia (blue-blind)
#B7A19C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #afa77e;
/* rgb */ color: rgb(175, 167, 126);
/* oklch */ color: oklch(72.5% 0.057 98.3);
Tailwind
colors: {
  custom: {
    50: '#c7c1a3',
    500: '#afa77e',
    950: '#000000',
  },
}
SCSS
$custom: #afa77e;
$custom-light: #c7c1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa77e",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 126
  },
  "hsl": {
    "h": 50.204,
    "s": 23.445,
    "l": 59.02
  },
  "oklch": {
    "l": 0.72467,
    "c": 0.05684,
    "h": 98.3
  },
  "luminance": 0.38258
}

Semantic roles & 50–950 ramp

primary
#AFA77E
secondary
#BBBECE
accent
#76C068
background
#FCFBFA
surface
#F8F7F4
border
#D1D0CE
text
#13120F
muted
#82817F

Preview Lab

Preview with #AFA77E

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

Preview Lab → · Contrast checker → · Palette generator →

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