#A7AC2C#A7AC2C

#A7AC2C 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#A7AC2C
RGBrgb(167, 172, 44)
HSLhsl(62, 59%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.9%, 0%, 74.4%, 32.5%)
CIE-LABlab(67.95, -17.14, 60.77)
CIE-LCHlch(67.95, 63.14, 105.75°)
OKLaboklab(71.78% -0.0535 0.1338)
OKLCHoklch(71.78% 0.144 111.8)
XYZxyz(31.1445, 37.9032, 8.0578)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC2C #312CAC
analogous
#AC712C #A7AC2C #67AC2C
triadic
#A7AC2C #2CA7AC #AC2CA7
tetradic
#A7AC2C #2CAC71 #312CAC #AC2C67
square
#A7AC2C #2CAC71 #312CAC #AC2C67
split-complementary
#A7AC2C #2C67AC #712CAC
monochromatic
#484B13 #787B20 #A7AC2C #CAD046 #D8DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7ac2c;
/* rgb */ color: rgb(167, 172, 44);
/* oklch */ color: oklch(71.8% 0.144 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46f',
    500: '#a7ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac2c;
$custom-light: #c5c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac2c",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 62.344,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71782,
    "c": 0.14409,
    "h": 111.8
  },
  "luminance": 0.37902
}

Semantic roles & 50–950 ramp

primary
#A7AC2C
secondary
#7370C4
accent
#45E24B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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