#A7A534#A7A534

#A7A534 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.132 H 108.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A7A534
RGBrgb(167, 165, 52)
HSLhsl(59, 53%, 43%)
HSVhsv(59, 69%, 65%)
CMYKcmyk(0%, 1.2%, 68.9%, 34.5%)
CIE-LABlab(66.04, -13.14, 55.99)
CIE-LCHlch(66.04, 57.51, 103.21°)
OKLaboklab(70.27% -0.0415 0.1251)
OKLCHoklch(70.27% 0.132 108.4)
XYZxyz(30.0124, 35.3746, 8.4952)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A534 #3436A7
analogous
#A76C34 #A7A534 #6FA734
triadic
#A7A534 #34A7A5 #A534A7
tetradic
#A7A534 #34A76C #3436A7 #A7346F
square
#A7A534 #34A76C #3436A7 #A7346F
split-complementary
#A7A534 #346FA7 #6C34A7
monochromatic
#4A4917 #787725 #A7A534 #C8C650 #D7D57E

Accessibility & contrast

On white

2.60
#A7A534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A7A534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A534
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A534#FFFFFF#000000##000000
##A7A5341.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#B39A8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a7a534;
/* rgb */ color: rgb(167, 165, 52);
/* oklch */ color: oklch(70.3% 0.132 108.4);
Tailwind
colors: {
  custom: {
    50: '#c4bf72',
    500: '#a7a534',
    950: '#000000',
  },
}
SCSS
$custom: #a7a534;
$custom-light: #c4bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a534",
  "rgb": {
    "r": 167,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 58.957,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.13181,
    "h": 108.4
  },
  "luminance": 0.35374
}

Semantic roles & 50–950 ramp

primary
#A7A534
secondary
#7778C0
accent
#4EDC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A534

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

Preview Lab → · Contrast checker → · Palette generator →

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