#A7AC2B#A7AC2B

#A7AC2B 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#A7AC2B
RGBrgb(167, 172, 43)
HSLhsl(62, 60%, 42%)
HSVhsv(62, 75%, 67%)
CMYKcmyk(2.9%, 0%, 75%, 32.5%)
CIE-LABlab(67.94, -17.19, 61.10)
CIE-LCHlch(67.94, 63.47, 105.71°)
OKLaboklab(71.78% -0.0537 0.1343)
OKLCHoklch(71.78% 0.145 111.8)
XYZxyz(31.1260, 37.8957, 7.9600)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC2B #302BAC
analogous
#AC712B #A7AC2B #66AC2B
triadic
#A7AC2B #2BA7AC #AC2BA7
tetradic
#A7AC2B #2BAC71 #302BAC #AC2B66
square
#A7AC2B #2BAC71 #302BAC #AC2B66
split-complementary
#A7AC2B #2B66AC #712BAC
monochromatic
#484A13 #777B1F #A7AC2B #CBD044 #D8DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AC2B#FFFFFF#000000##000000
##A7AC2B1.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)
#BAA40D
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#B3A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac2b;
/* rgb */ color: rgb(167, 172, 43);
/* oklch */ color: oklch(71.8% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#c5c46f',
    500: '#a7ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac2b;
$custom-light: #c5c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac2b",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 62.326,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.14465,
    "h": 111.8
  },
  "luminance": 0.37895
}

Semantic roles & 50–950 ramp

primary
#A7AC2B
secondary
#726FC4
accent
#45E34B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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