#A7AC22#A7AC22

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

Color values

HEX#A7AC22
RGBrgb(167, 172, 34)
HSLhsl(62, 67%, 40%)
HSVhsv(62, 80%, 67%)
CMYKcmyk(2.9%, 0%, 80.2%, 32.5%)
CIE-LABlab(67.90, -17.54, 63.84)
CIE-LCHlch(67.90, 66.20, 105.37°)
OKLaboklab(71.73% -0.0554 0.1385)
OKLCHoklch(71.73% 0.149 111.8)
XYZxyz(30.9787, 37.8368, 7.1844)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC22 #2722AC
analogous
#AC6C22 #A7AC22 #62AC22
triadic
#A7AC22 #22A7AC #AC22A7
tetradic
#A7AC22 #22AC6C #2722AC #AC2262
square
#A7AC22 #22AC6C #2722AC #AC2262
split-complementary
#A7AC22 #2262AC #6C22AC
monochromatic
#44460E #757918 #A7AC22 #D1D734 #DDE167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AC22#FFFFFF#000000##000000
##A7AC221.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: #a7ac22;
/* rgb */ color: rgb(167, 172, 34);
/* oklch */ color: oklch(71.7% 0.149 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46b',
    500: '#a7ac22',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac22;
$custom-light: #c5c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac22",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 62.174,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.71727,
    "c": 0.14918,
    "h": 111.8
  },
  "luminance": 0.37836
}

Semantic roles & 50–950 ramp

primary
#A7AC22
secondary
#6763C7
accent
#3EEA44
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A7AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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