#A7A322#A7A322

#A7A322 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.140 H 107.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#A7A322
RGBrgb(167, 163, 34)
HSLhsl(58, 66%, 39%)
HSVhsv(58, 80%, 65%)
CMYKcmyk(0%, 2.4%, 79.6%, 34.5%)
CIE-LABlab(65.38, -12.91, 61.61)
CIE-LCHlch(65.38, 62.95, 101.84°)
OKLaboklab(69.71% -0.0426 0.1337)
OKLCHoklch(69.71% 0.14 107.7)
XYZxyz(29.3235, 34.5264, 6.6327)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A322 #2226A7
analogous
#A76022 #A7A322 #69A722
triadic
#A7A322 #22A7A3 #A322A7
tetradic
#A7A322 #22A760 #2226A7 #A72269
square
#A7A322 #22A760 #2226A7 #A72269
split-complementary
#A7A322 #2269A7 #6022A7
monochromatic
#41400D #747118 #A7A322 #D5D031 #DFDC64

Accessibility & contrast

On white

2.66
#A7A322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#A7A322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A322
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A322#FFFFFF#000000##000000
##A7A3221.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B3A12D
Tritanopia (blue-blind)
#B4988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a322;
/* rgb */ color: rgb(167, 163, 34);
/* oklch */ color: oklch(69.7% 0.140 107.7);
Tailwind
colors: {
  custom: {
    50: '#c5bd6a',
    500: '#a7a322',
    950: '#000000',
  },
}
SCSS
$custom: #a7a322;
$custom-light: #c5bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a322",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 58.195,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69711,
    "c": 0.14034,
    "h": 107.7
  },
  "luminance": 0.34525
}

Semantic roles & 50–950 ramp

primary
#A7A322
secondary
#6063C5
accent
#44E93F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A322

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

Preview Lab → · Contrast checker → · Palette generator →

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