#A7A82A#A7A82A

#A7A82A is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.9% C 0.141 H 110.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A7A82A
RGBrgb(167, 168, 42)
HSLhsl(60, 60%, 41%)
HSVhsv(60, 75%, 66%)
CMYKcmyk(0.6%, 0%, 75%, 34.1%)
CIE-LABlab(66.82, -15.18, 60.39)
CIE-LCHlch(66.82, 62.27, 104.11°)
OKLaboklab(70.87% -0.0482 0.1326)
OKLCHoklch(70.87% 0.141 110)
XYZxyz(30.3580, 36.3888, 7.6146)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A82A #2B2AA8
analogous
#A86A2A #A7A82A #68A82A
triadic
#A7A82A #2AA7A8 #A82AA7
tetradic
#A7A82A #2AA86A #2B2AA8 #A82A68
square
#A7A82A #2AA86A #2B2AA8 #A82A68
split-complementary
#A7A82A #2A68A8 #6A2AA8
monochromatic
#464612 #76771E #A7A82A #CECF40 #DBDB71

Accessibility & contrast

On white

2.54
#A7A82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A7A82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A82A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A82A#FFFFFF#000000##000000
##A7A82A1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a82a;
/* rgb */ color: rgb(167, 168, 42);
/* oklch */ color: oklch(70.9% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16e',
    500: '#a7a82a',
    950: '#000000',
  },
}
SCSS
$custom: #a7a82a;
$custom-light: #c5c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a82a",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 60.476,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.1411,
    "h": 110
  },
  "luminance": 0.36388
}

Semantic roles & 50–950 ramp

primary
#A7A82A
secondary
#6C6BC3
accent
#45E346
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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