#A7AC2D#A7AC2D

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

Color values

HEX#A7AC2D
RGBrgb(167, 172, 45)
HSLhsl(62, 59%, 43%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.9%, 0%, 73.8%, 32.5%)
CIE-LABlab(67.95, -17.10, 60.43)
CIE-LCHlch(67.95, 62.81, 105.80°)
OKLaboklab(71.79% -0.0533 0.1333)
OKLCHoklch(71.79% 0.144 111.8)
XYZxyz(31.1636, 37.9108, 8.1580)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC2D #322DAC
analogous
#AC712D #A7AC2D #68AC2D
triadic
#A7AC2D #2DA7AC #AC2DA7
tetradic
#A7AC2D #2DAC71 #322DAC #AC2D68
square
#A7AC2D #2DAC71 #322DAC #AC2D68
split-complementary
#A7AC2D #2D68AC #712DAC
monochromatic
#494B14 #787B20 #A7AC2D #CACF47 #D8DC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AC2D#FFFFFF#000000##000000
##A7AC2D1.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)
#B9A412
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#B3A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac2d;
/* rgb */ color: rgb(167, 172, 45);
/* oklch */ color: oklch(71.8% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c470',
    500: '#a7ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac2d;
$custom-light: #c5c470;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac2d",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 62.362,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71788,
    "c": 0.14352,
    "h": 111.8
  },
  "luminance": 0.3791
}

Semantic roles & 50–950 ramp

primary
#A7AC2D
secondary
#7471C4
accent
#46E24C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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