#A7A82D#A7A82D

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

Color values

HEX#A7A82D
RGBrgb(167, 168, 45)
HSLhsl(60, 58%, 42%)
HSVhsv(60, 73%, 66%)
CMYKcmyk(0.6%, 0%, 73.2%, 34.1%)
CIE-LABlab(66.83, -15.05, 59.37)
CIE-LCHlch(66.83, 61.25, 104.22°)
OKLaboklab(70.89% -0.0476 0.131)
OKLCHoklch(70.89% 0.139 110)
XYZxyz(30.4137, 36.4111, 7.9081)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A82D #2E2DA8
analogous
#A86C2D #A7A82D #6AA82D
triadic
#A7A82D #2DA7A8 #A82DA7
tetradic
#A7A82D #2DA86C #2E2DA8 #A82D6A
square
#A7A82D #2DA86C #2E2DA8 #A82D6A
split-complementary
#A7A82D #2D6AA8 #6C2DA8
monochromatic
#474713 #777820 #A7A82D #CCCD45 #D9DA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7a82d;
/* rgb */ color: rgb(167, 168, 45);
/* oklch */ color: oklch(70.9% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16f',
    500: '#a7a82d',
    950: '#000000',
  },
}
SCSS
$custom: #a7a82d;
$custom-light: #c5c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a82d",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 60.488,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70891,
    "c": 0.13937,
    "h": 110
  },
  "luminance": 0.3641
}

Semantic roles & 50–950 ramp

primary
#A7A82D
secondary
#706FC2
accent
#47E148
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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