#A7AC20#A7AC20

#A7AC20 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.7% C 0.150 H 111.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#A7AC20
RGBrgb(167, 172, 32)
HSLhsl(62, 69%, 40%)
HSVhsv(62, 81%, 67%)
CMYKcmyk(2.9%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.89, -17.61, 64.38)
CIE-LCHlch(67.89, 66.75, 105.30°)
OKLaboklab(71.72% -0.0558 0.1393)
OKLCHoklch(71.72% 0.15 111.8)
XYZxyz(30.9507, 37.8256, 7.0369)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC20 #2520AC
analogous
#AC6B20 #A7AC20 #61AC20
triadic
#A7AC20 #20A7AC #AC20A7
tetradic
#A7AC20 #20AC6B #2520AC #AC2061
square
#A7AC20 #20AC6B #2520AC #AC2061
split-complementary
#A7AC20 #2061AC #6B20AC
monochromatic
#43450D #757816 #A7AC20 #D3D931 #DEE264

Accessibility & contrast

On white

2.45
#A7AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#A7AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC20
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC20#FFFFFF#000000##000000
##A7AC201.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#BAA72E
Tritanopia (blue-blind)
#B3A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ac20;
/* rgb */ color: rgb(167, 172, 32);
/* oklch */ color: oklch(71.7% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46a',
    500: '#a7ac20',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac20;
$custom-light: #c5c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac20",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 62.143,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.15006,
    "h": 111.8
  },
  "luminance": 0.37825
}

Semantic roles & 50–950 ramp

primary
#A7AC20
secondary
#6460C7
accent
#3CEB43
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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