#A7A320#A7A320

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

Color values

HEX#A7A320
RGBrgb(167, 163, 32)
HSLhsl(58, 68%, 39%)
HSVhsv(58, 81%, 65%)
CMYKcmyk(0%, 2.4%, 80.8%, 34.5%)
CIE-LABlab(65.37, -12.98, 62.19)
CIE-LCHlch(65.37, 63.53, 101.79°)
OKLaboklab(69.7% -0.0429 0.1346)
OKLCHoklch(69.7% 0.141 107.7)
XYZxyz(29.2955, 34.5152, 6.4852)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A320 #2024A7
analogous
#A76020 #A7A320 #68A720
triadic
#A7A320 #20A7A3 #A320A7
tetradic
#A7A320 #20A760 #2024A7 #A72068
square
#A7A320 #20A760 #2024A7 #A72068
split-complementary
#A7A320 #2068A7 #6020A7
monochromatic
#403F0C #747116 #A7A320 #D7D22D #E1DD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A320#FFFFFF#000000##000000
##A7A3201.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)
#B4A12C
Tritanopia (blue-blind)
#B4988B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a7a320;
/* rgb */ color: rgb(167, 163, 32);
/* oklch */ color: oklch(69.7% 0.141 107.7);
Tailwind
colors: {
  custom: {
    50: '#c5bd69',
    500: '#a7a320',
    950: '#000000',
  },
}
SCSS
$custom: #a7a320;
$custom-light: #c5bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a320",
  "rgb": {
    "r": 167,
    "g": 163,
    "b": 32
  },
  "hsl": {
    "h": 58.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.69702,
    "c": 0.14126,
    "h": 107.7
  },
  "luminance": 0.34514
}

Semantic roles & 50–950 ramp

primary
#A7A320
secondary
#5D60C5
accent
#42EB3D
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A320

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

Preview Lab → · Contrast checker → · Palette generator →

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