#A7A720#A7A720

#A7A720 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.6% C 0.145 H 109.6°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#A7A720
RGBrgb(167, 167, 32)
HSLhsl(60, 68%, 39%)
HSVhsv(60, 81%, 65%)
CMYKcmyk(0%, 0%, 80.8%, 34.5%)
CIE-LABlab(66.49, -15.05, 63.16)
CIE-LCHlch(66.49, 64.93, 103.41°)
OKLaboklab(70.6% -0.0487 0.1367)
OKLCHoklch(70.6% 0.145 109.6)
XYZxyz(30.0169, 35.9581, 6.7257)
Luminance0.3596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A720 #2020A7
analogous
#A76420 #A7A720 #64A720
triadic
#A7A720 #20A7A7 #A720A7
tetradic
#A7A720 #20A764 #2020A7 #A72064
square
#A7A720 #20A764 #2020A7 #A72064
split-complementary
#A7A720 #2064A7 #6420A7
monochromatic
#40400C #747416 #A7A720 #D7D72D #E1E161

Accessibility & contrast

On white

2.56
#A7A720 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#A7A720 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A720
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A720#FFFFFF#000000##000000
##A7A7201.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#B39C8F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a7a720;
/* rgb */ color: rgb(167, 167, 32);
/* oklch */ color: oklch(70.6% 0.145 109.6);
Tailwind
colors: {
  custom: {
    50: '#c5c069',
    500: '#a7a720',
    950: '#000000',
  },
}
SCSS
$custom: #a7a720;
$custom-light: #c5c069;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a720",
  "rgb": {
    "r": 167,
    "g": 167,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70595,
    "c": 0.14509,
    "h": 109.6
  },
  "luminance": 0.35957
}

Semantic roles & 50–950 ramp

primary
#A7A720
secondary
#5D5DC5
accent
#3DEB3D
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7A720

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

Preview Lab → · Contrast checker → · Palette generator →

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