#A7AF50#A7AF50

#A7AF50 is a light, moderate yellow. Relative luminance 0.395; OKLCH L 72.8% C 0.120 H 113.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#A7AF50
RGBrgb(167, 175, 80)
HSLhsl(65, 37%, 50%)
HSVhsv(65, 54%, 69%)
CMYKcmyk(4.6%, 0%, 54.3%, 31.4%)
CIE-LABlab(69.08, -16.32, 47.01)
CIE-LCHlch(69.08, 49.76, 109.14°)
OKLaboklab(72.78% -0.0475 0.1099)
OKLCHoklch(72.78% 0.12 113.4)
XYZxyz(32.7149, 39.4552, 13.4801)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AF50 #5850AF
analogous
#AF8850 #A7AF50 #77AF50
triadic
#A7AF50 #50A7AF #AF50A7
tetradic
#A7AF50 #50AF88 #5850AF #AF5077
square
#A7AF50 #50AF88 #5850AF #AF5077
split-complementary
#A7AF50 #5077AF #8850AF
monochromatic
#575B2A #7F853D #A7AF50 #BCC27A #D1D5A4

Accessibility & contrast

On white

2.36
#A7AF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#A7AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AF50
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AF50#FFFFFF#000000##000000
##A7AF501.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA847
Deuteranopia (green-blind)
#BAAA55
Tritanopia (blue-blind)
#B1A69A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7af50;
/* rgb */ color: rgb(167, 175, 80);
/* oklch */ color: oklch(72.8% 0.120 113.4);
Tailwind
colors: {
  custom: {
    50: '#c3c684',
    500: '#a7af50',
    950: '#000000',
  },
}
SCSS
$custom: #a7af50;
$custom-light: #c3c684;
$custom-dark: #000000;
JSON
{
  "hex": "#a7af50",
  "rgb": {
    "r": 167,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 65.053,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.72779,
    "c": 0.11975,
    "h": 113.4
  },
  "luminance": 0.39455
}

Semantic roles & 50–950 ramp

primary
#A7AF50
secondary
#9C98C3
accent
#5BCD64
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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