#A7A82E#A7A82E

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

Color values

HEX#A7A82E
RGBrgb(167, 168, 46)
HSLhsl(60, 57%, 42%)
HSVhsv(60, 73%, 66%)
CMYKcmyk(0.6%, 0%, 72.6%, 34.1%)
CIE-LABlab(66.84, -15.00, 59.02)
CIE-LCHlch(66.84, 60.90, 104.26°)
OKLaboklab(70.9% -0.0473 0.1305)
OKLCHoklch(70.9% 0.139 109.9)
XYZxyz(30.4332, 36.4189, 8.0107)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A82E #2F2EA8
analogous
#A86C2E #A7A82E #6AA82E
triadic
#A7A82E #2EA7A8 #A82EA7
tetradic
#A7A82E #2EA86C #2F2EA8 #A82E6A
square
#A7A82E #2EA86C #2F2EA8 #A82E6A
split-complementary
#A7A82E #2E6AA8 #6C2EA8
monochromatic
#474814 #777821 #A7A82E #CBCD47 #D9DA77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A82E#FFFFFF#000000##000000
##A7A82E1.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)
#B6A117
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a82e;
/* rgb */ color: rgb(167, 168, 46);
/* oklch */ color: oklch(70.9% 0.139 109.9);
Tailwind
colors: {
  custom: {
    50: '#c5c170',
    500: '#a7a82e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a82e;
$custom-light: #c5c170;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a82e",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 60.492,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70898,
    "c": 0.13877,
    "h": 109.9
  },
  "luminance": 0.36418
}

Semantic roles & 50–950 ramp

primary
#A7A82E
secondary
#7170C2
accent
#48E049
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A82E

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

Preview Lab → · Contrast checker → · Palette generator →

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