#A7AB34#A7AB34

#A7AB34 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.138 H 111.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#A7AB34
RGBrgb(167, 171, 52)
HSLhsl(62, 53%, 44%)
HSVhsv(62, 70%, 67%)
CMYKcmyk(2.3%, 0%, 69.6%, 32.9%)
CIE-LABlab(67.72, -16.23, 57.66)
CIE-LCHlch(67.72, 59.90, 105.72°)
OKLaboklab(71.61% -0.0502 0.1286)
OKLCHoklch(71.61% 0.138 111.3)
XYZxyz(31.1201, 37.5900, 8.8644)
Luminance0.3759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB34 #3834AB
analogous
#AB7334 #A7AB34 #6BAB34
triadic
#A7AB34 #34A7AB #AB34A7
tetradic
#A7AB34 #34AB73 #3834AB #AB346B
square
#A7AB34 #34AB73 #3834AB #AB346B
split-complementary
#A7AB34 #346BAB #7334AB
monochromatic
#4B4D17 #797C26 #A7AB34 #C6CA52 #D6D981

Accessibility & contrast

On white

2.47
#A7AB34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#A7AB34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB34
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB34#FFFFFF#000000##000000
##A7AB341.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A321
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#B2A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab34;
/* rgb */ color: rgb(167, 171, 52);
/* oklch */ color: oklch(71.6% 0.138 111.3);
Tailwind
colors: {
  custom: {
    50: '#c4c373',
    500: '#a7ab34',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab34;
$custom-light: #c4c373;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab34",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 62.017,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.13808,
    "h": 111.3
  },
  "luminance": 0.37589
}

Semantic roles & 50–950 ramp

primary
#A7AB34
secondary
#7B79C2
accent
#4BDD50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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