#A7AC21#A7AC21

#A7AC21 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#A7AC21
RGBrgb(167, 172, 33)
HSLhsl(62, 68%, 40%)
HSVhsv(62, 81%, 67%)
CMYKcmyk(2.9%, 0%, 80.8%, 32.5%)
CIE-LABlab(67.90, -17.58, 64.11)
CIE-LCHlch(67.90, 66.48, 105.33°)
OKLaboklab(71.72% -0.0556 0.1389)
OKLCHoklch(71.72% 0.15 111.8)
XYZxyz(30.9645, 37.8312, 7.1096)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC21 #2621AC
analogous
#AC6B21 #A7AC21 #62AC21
triadic
#A7AC21 #21A7AC #AC21A7
tetradic
#A7AC21 #21AC6B #2621AC #AC2162
square
#A7AC21 #21AC6B #2621AC #AC2162
split-complementary
#A7AC21 #2162AC #6B21AC
monochromatic
#43450D #757917 #A7AC21 #D2D832 #DDE266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AC21#FFFFFF#000000##000000
##A7AC211.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)
#BAA72F
Tritanopia (blue-blind)
#B3A193
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ac21;
/* rgb */ color: rgb(167, 172, 33);
/* oklch */ color: oklch(71.7% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46a',
    500: '#a7ac21',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac21;
$custom-light: #c5c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac21",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 62.158,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.14962,
    "h": 111.8
  },
  "luminance": 0.3783
}

Semantic roles & 50–950 ramp

primary
#A7AC21
secondary
#6562C7
accent
#3DEB43
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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