#A7A134#A7A134

#A7A134 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.128 H 106.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A7A134
RGBrgb(167, 161, 52)
HSLhsl(57, 53%, 43%)
HSVhsv(57, 69%, 65%)
CMYKcmyk(0%, 3.6%, 68.9%, 34.5%)
CIE-LABlab(64.93, -11.05, 54.87)
CIE-LCHlch(64.93, 55.97, 101.38°)
OKLaboklab(69.38% -0.0356 0.1228)
OKLCHoklch(69.38% 0.128 106.2)
XYZxyz(29.3022, 33.9542, 8.2584)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A134 #343AA7
analogous
#A76834 #A7A134 #73A734
triadic
#A7A134 #34A7A1 #A134A7
tetradic
#A7A134 #34A768 #343AA7 #A73473
square
#A7A134 #34A768 #343AA7 #A73473
split-complementary
#A7A134 #3473A7 #6834A7
monochromatic
#4A4717 #787425 #A7A134 #C8C250 #D7D27E

Accessibility & contrast

On white

2.70
#A7A134 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A7A134 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A134
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A134#FFFFFF#000000##000000
##A7A1341.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B24
Deuteranopia (green-blind)
#B1A03B
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a134;
/* rgb */ color: rgb(167, 161, 52);
/* oklch */ color: oklch(69.4% 0.128 106.2);
Tailwind
colors: {
  custom: {
    50: '#c4bc72',
    500: '#a7a134',
    950: '#000000',
  },
}
SCSS
$custom: #a7a134;
$custom-light: #c4bc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a134",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 52
  },
  "hsl": {
    "h": 56.87,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69384,
    "c": 0.12782,
    "h": 106.2
  },
  "luminance": 0.33953
}

Semantic roles & 50–950 ramp

primary
#A7A134
secondary
#777BC0
accent
#53DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A134

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

Preview Lab → · Contrast checker → · Palette generator →

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