#A7AB40#A7AB40

#A7AB40 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.7% C 0.129 H 111.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#A7AB40
RGBrgb(167, 171, 64)
HSLhsl(62, 46%, 46%)
HSVhsv(62, 63%, 67%)
CMYKcmyk(2.3%, 0%, 62.6%, 32.9%)
CIE-LABlab(67.81, -15.50, 52.86)
CIE-LCHlch(67.81, 55.08, 106.34°)
OKLaboklab(71.71% -0.0469 0.1204)
OKLCHoklch(71.71% 0.129 111.3)
XYZxyz(31.4256, 37.7122, 10.4733)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB40 #4440AB
analogous
#AB7940 #A7AB40 #71AB40
triadic
#A7AB40 #40A7AB #AB40A7
tetradic
#A7AB40 #40AB79 #4440AB #AB4071
square
#A7AB40 #40AB79 #4440AB #AB4071
split-complementary
#A7AB40 #4071AB #7940AB
monochromatic
#50521F #7C7E2F #A7AB40 #C1C563 #D3D590

Accessibility & contrast

On white

2.46
#A7AB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#A7AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB40
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB40#FFFFFF#000000##000000
##A7AB401.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#B8A747
Tritanopia (blue-blind)
#B2A195
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab40;
/* rgb */ color: rgb(167, 171, 64);
/* oklch */ color: oklch(71.7% 0.129 111.3);
Tailwind
colors: {
  custom: {
    50: '#c4c37a',
    500: '#a7ab40',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab40;
$custom-light: #c4c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab40",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 62.243,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71714,
    "c": 0.12922,
    "h": 111.3
  },
  "luminance": 0.37711
}

Semantic roles & 50–950 ramp

primary
#A7AB40
secondary
#8886C1
accent
#53D557
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A7AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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