#A7AC34#A7AC34

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

Color values

HEX#A7AC34
RGBrgb(167, 172, 52)
HSLhsl(63, 54%, 44%)
HSVhsv(63, 70%, 67%)
CMYKcmyk(2.9%, 0%, 69.8%, 32.5%)
CIE-LABlab(68.00, -16.74, 57.94)
CIE-LCHlch(68.00, 60.31, 106.12°)
OKLaboklab(71.84% -0.0516 0.1292)
OKLCHoklch(71.84% 0.139 111.8)
XYZxyz(31.3097, 37.9692, 8.9276)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AC34 #3934AC
analogous
#AC7534 #A7AC34 #6BAC34
triadic
#A7AC34 #34A7AC #AC34A7
tetradic
#A7AC34 #34AC75 #3934AC #AC346B
square
#A7AC34 #34AC75 #3934AC #AC346B
split-complementary
#A7AC34 #346BAC #7534AC
monochromatic
#4C4E18 #797D26 #A7AC34 #C6CB52 #D5D981

Accessibility & contrast

On white

2.44
#A7AC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#A7AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AC34
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AC34#FFFFFF#000000##000000
##A7AC341.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A420
Deuteranopia (green-blind)
#BAA73D
Tritanopia (blue-blind)
#B2A194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ac34;
/* rgb */ color: rgb(167, 172, 52);
/* oklch */ color: oklch(71.8% 0.139 111.8);
Tailwind
colors: {
  custom: {
    50: '#c4c473',
    500: '#a7ac34',
    950: '#000000',
  },
}
SCSS
$custom: #a7ac34;
$custom-light: #c4c473;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ac34",
  "rgb": {
    "r": 167,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 62.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.13915,
    "h": 111.8
  },
  "luminance": 0.37968
}

Semantic roles & 50–950 ramp

primary
#A7AC34
secondary
#7D79C2
accent
#4BDD51
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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