#A7A82C#A7A82C

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

Color values

HEX#A7A82C
RGBrgb(167, 168, 44)
HSLhsl(60, 58%, 42%)
HSVhsv(60, 74%, 66%)
CMYKcmyk(0.6%, 0%, 73.8%, 34.1%)
CIE-LABlab(66.83, -15.09, 59.71)
CIE-LCHlch(66.83, 61.59, 104.19°)
OKLaboklab(70.88% -0.0478 0.1316)
OKLCHoklch(70.88% 0.14 110)
XYZxyz(30.3947, 36.4035, 7.8079)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A82C #2D2CA8
analogous
#A86B2C #A7A82C #69A82C
triadic
#A7A82C #2CA7A8 #A82CA7
tetradic
#A7A82C #2CA86B #2D2CA8 #A82C69
square
#A7A82C #2CA86B #2D2CA8 #A82C69
split-complementary
#A7A82C #2C69A8 #6B2CA8
monochromatic
#474713 #77781F #A7A82C #CDCE43 #DADB74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A82C#FFFFFF#000000##000000
##A7A82C1.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)
#B6A112
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#B39D90
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a82c;
/* rgb */ color: rgb(167, 168, 44);
/* oklch */ color: oklch(70.9% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#c5c16f',
    500: '#a7a82c',
    950: '#000000',
  },
}
SCSS
$custom: #a7a82c;
$custom-light: #c5c16f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a82c",
  "rgb": {
    "r": 167,
    "g": 168,
    "b": 44
  },
  "hsl": {
    "h": 60.484,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70885,
    "c": 0.13996,
    "h": 110
  },
  "luminance": 0.36403
}

Semantic roles & 50–950 ramp

primary
#A7A82C
secondary
#6E6EC2
accent
#46E247
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A82C

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

Preview Lab → · Contrast checker → · Palette generator →

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