#A7AB2A#A7AB2A

#A7AB2A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.5% C 0.144 H 111.4°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#A7AB2A
RGBrgb(167, 171, 42)
HSLhsl(62, 61%, 42%)
HSVhsv(62, 75%, 67%)
CMYKcmyk(2.3%, 0%, 75.4%, 32.9%)
CIE-LABlab(67.66, -16.72, 61.17)
CIE-LCHlch(67.66, 63.41, 105.29°)
OKLaboklab(71.55% -0.0525 0.1343)
OKLCHoklch(71.55% 0.144 111.4)
XYZxyz(30.9182, 37.5093, 7.8014)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB2A #2E2AAB
analogous
#AB6E2A #A7AB2A #67AB2A
triadic
#A7AB2A #2AA7AB #AB2AA7
tetradic
#A7AB2A #2AAB6E #2E2AAB #AB2A67
square
#A7AB2A #2AAB6E #2E2AAB #AB2A67
split-complementary
#A7AB2A #2A67AB #6E2AAB
monochromatic
#474912 #777A1E #A7AB2A #CCD142 #D9DD73

Accessibility & contrast

On white

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

On black

8.50
#A7AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB2A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB2A#FFFFFF#000000##000000
##A7AB2A1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab2a;
/* rgb */ color: rgb(167, 171, 42);
/* oklch */ color: oklch(71.5% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36e',
    500: '#a7ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab2a;
$custom-light: #c5c36e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab2a",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 61.86,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71545,
    "c": 0.14417,
    "h": 111.4
  },
  "luminance": 0.37508
}

Semantic roles & 50–950 ramp

primary
#A7AB2A
secondary
#706DC4
accent
#44E449
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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