#A7AB26#A7AB26

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

Color values

HEX#A7AB26
RGBrgb(167, 171, 38)
HSLhsl(62, 64%, 41%)
HSVhsv(62, 78%, 67%)
CMYKcmyk(2.3%, 0%, 77.8%, 32.9%)
CIE-LABlab(67.64, -16.89, 62.43)
CIE-LCHlch(67.64, 64.67, 105.14°)
OKLaboklab(71.52% -0.0533 0.1362)
OKLCHoklch(71.52% 0.146 111.4)
XYZxyz(30.8502, 37.4821, 7.4430)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB26 #2A26AB
analogous
#AB6D26 #A7AB26 #64AB26
triadic
#A7AB26 #26A7AB #AB26A7
tetradic
#A7AB26 #26AB6D #2A26AB #AB2664
square
#A7AB26 #26AB6D #2A26AB #AB2664
split-complementary
#A7AB26 #2664AB #6D26AB
monochromatic
#454710 #76791B #A7AB26 #CFD33B #DBDF6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AB26#FFFFFF#000000##000000
##A7AB261.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)
#B9A300
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#B3A092
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab26;
/* rgb */ color: rgb(167, 171, 38);
/* oklch */ color: oklch(71.5% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36c',
    500: '#a7ab26',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab26;
$custom-light: #c5c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab26",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 61.805,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71522,
    "c": 0.14627,
    "h": 111.4
  },
  "luminance": 0.37481
}

Semantic roles & 50–950 ramp

primary
#A7AB26
secondary
#6B68C5
accent
#41E746
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB26

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

Preview Lab → · Contrast checker → · Palette generator →

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