#A7A034#A7A034

#A7A034 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.127 H 105.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A7A034
RGBrgb(167, 160, 52)
HSLhsl(56, 53%, 43%)
HSVhsv(56, 69%, 65%)
CMYKcmyk(0%, 4.2%, 68.9%, 34.5%)
CIE-LABlab(64.65, -10.52, 54.59)
CIE-LCHlch(64.65, 55.59, 100.91°)
OKLaboklab(69.16% -0.0341 0.1222)
OKLCHoklch(69.16% 0.127 105.6)
XYZxyz(29.1281, 33.6061, 8.2004)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A034 #343BA7
analogous
#A76634 #A7A034 #74A734
triadic
#A7A034 #34A7A0 #A034A7
tetradic
#A7A034 #34A766 #343BA7 #A73474
square
#A7A034 #34A766 #343BA7 #A73474
split-complementary
#A7A034 #3474A7 #6634A7
monochromatic
#4A4717 #787325 #A7A034 #C8C150 #D7D27E

Accessibility & contrast

On white

2.72
#A7A034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A7A034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A034
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A034#FFFFFF#000000##000000
##A7A0341.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A24
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#B3958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a034;
/* rgb */ color: rgb(167, 160, 52);
/* oklch */ color: oklch(69.2% 0.127 105.6);
Tailwind
colors: {
  custom: {
    50: '#c4bb72',
    500: '#a7a034',
    950: '#000000',
  },
}
SCSS
$custom: #a7a034;
$custom-light: #c4bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a034",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 56.348,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69163,
    "c": 0.12684,
    "h": 105.6
  },
  "luminance": 0.33605
}

Semantic roles & 50–950 ramp

primary
#A7A034
secondary
#777BC0
accent
#55DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A7A034

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

Preview Lab → · Contrast checker → · Palette generator →

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