#A7A151#A7A151

#A7A151 is a light, moderate yellow. Relative luminance 0.343; OKLCH L 69.7% C 0.103 H 104.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A7A151
RGBrgb(167, 161, 81)
HSLhsl(56, 35%, 49%)
HSVhsv(56, 51%, 65%)
CMYKcmyk(0%, 3.6%, 51.5%, 34.5%)
CIE-LABlab(65.20, -8.94, 41.99)
CIE-LCHlch(65.20, 42.93, 102.02°)
OKLaboklab(69.69% -0.0264 0.0992)
OKLCHoklch(69.69% 0.103 104.9)
XYZxyz(30.1672, 34.3002, 12.8145)
Luminance0.3430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A151 #5157A7
analogous
#A77651 #A7A151 #82A751
triadic
#A7A151 #51A7A1 #A151A7
tetradic
#A7A151 #51A776 #5157A7 #A75182
square
#A7A151 #51A776 #5157A7 #A75182
split-complementary
#A7A151 #5182A7 #7651A7
monochromatic
#555229 #7E793D #A7A151 #BDB978 #D1CEA1

Accessibility & contrast

On white

2.67
#A7A151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A7A151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A151
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A151#FFFFFF#000000##000000
##A7A1511.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C4A
Deuteranopia (green-blind)
#AFA055
Tritanopia (blue-blind)
#B2988F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a151;
/* rgb */ color: rgb(167, 161, 81);
/* oklch */ color: oklch(69.7% 0.103 104.9);
Tailwind
colors: {
  custom: {
    50: '#c3bc84',
    500: '#a7a151',
    950: '#000000',
  },
}
SCSS
$custom: #a7a151;
$custom-light: #c3bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a151",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 55.814,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.1026,
    "h": 104.9
  },
  "luminance": 0.34299
}

Semantic roles & 50–950 ramp

primary
#A7A151
secondary
#9598BF
accent
#65CB5D
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C

Preview Lab

Preview with #A7A151

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

Preview Lab → · Contrast checker → · Palette generator →

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