#A7A261#A7A261

#A7A261 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 70.1% C 0.086 H 104.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#A7A261
RGBrgb(167, 162, 97)
HSLhsl(56, 28%, 52%)
HSVhsv(56, 42%, 65%)
CMYKcmyk(0%, 3%, 41.9%, 34.5%)
CIE-LABlab(65.69, -7.87, 34.40)
CIE-LCHlch(65.69, 35.29, 102.88°)
OKLaboklab(70.15% -0.0217 0.0835)
OKLCHoklch(70.15% 0.086 104.6)
XYZxyz(31.0149, 34.9200, 16.4134)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A261 #6166A7
analogous
#A77F61 #A7A261 #89A761
triadic
#A7A261 #61A7A2 #A261A7
tetradic
#A7A261 #61A77F #6166A7 #A76189
square
#A7A261 #61A77F #6166A7 #A76189
split-complementary
#A7A261 #6189A7 #7F61A7
monochromatic
#5B5833 #827E49 #A7A261 #BDB988 #D3D0B0

Accessibility & contrast

On white

2.63
#A7A261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#A7A261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A261
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A261#FFFFFF#000000##000000
##A7A2611.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9E5C
Deuteranopia (green-blind)
#AEA164
Tritanopia (blue-blind)
#B09A92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a261;
/* rgb */ color: rgb(167, 162, 97);
/* oklch */ color: oklch(70.1% 0.086 104.6);
Tailwind
colors: {
  custom: {
    50: '#c2bd8f',
    500: '#a7a261',
    950: '#000000',
  },
}
SCSS
$custom: #a7a261;
$custom-light: #c2bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a261",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 55.714,
    "s": 28.455,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70145,
    "c": 0.08629,
    "h": 104.6
  },
  "luminance": 0.34919
}

Semantic roles & 50–950 ramp

primary
#A7A261
secondary
#A3A5C1
accent
#6AC563
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #A7A261

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

Preview Lab → · Contrast checker → · Palette generator →

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