#A7AC2A#A7AC2A

#A7AC2A is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.8% C 0.145 H 111.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#A7AC2A
RGBrgb(167, 172, 42)
HSLhsl(62, 61%, 42%)
HSVhsv(62, 76%, 67%)
CMYKcmyk(2.9%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.94, -17.23, 61.43)
CIE-LCHlch(67.94, 63.80, 105.67°)
OKLaboklab(71.77% -0.0539 0.1348)
OKLCHoklch(71.77% 0.145 111.8)
XYZxyz(31.1078, 37.8885, 7.8646)
Luminance0.3789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC2A #2F2AAC
analogous
#AC702A #A7AC2A #66AC2A
triadic
#A7AC2A #2AA7AC #AC2AA7
tetradic
#A7AC2A #2AAC70 #2F2AAC #AC2A66
square
#A7AC2A #2AAC70 #2F2AAC #AC2A66
split-complementary
#A7AC2A #2A66AC #702AAC
monochromatic
#474A12 #777B1E #A7AC2A #CBD142 #D9DD73

Accessibility & contrast

On white

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

On black

8.58
#A7AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC2A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC2A#FFFFFF#000000##000000
##A7AC2A1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA40A
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#B3A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac2a;
/* rgb */ color: rgb(167, 172, 42);
/* oklch */ color: oklch(71.8% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46e',
    500: '#a7ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac2a;
$custom-light: #c5c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac2a",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 62.308,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7177,
    "c": 0.1452,
    "h": 111.8
  },
  "luminance": 0.37888
}

Semantic roles & 50–950 ramp

primary
#A7AC2A
secondary
#716DC4
accent
#44E44A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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