#A7AB2B#A7AB2B

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

Color values

HEX#A7AB2B
RGBrgb(167, 171, 43)
HSLhsl(62, 60%, 42%)
HSVhsv(62, 75%, 67%)
CMYKcmyk(2.3%, 0%, 74.9%, 32.9%)
CIE-LABlab(67.66, -16.68, 60.84)
CIE-LCHlch(67.66, 63.09, 105.33°)
OKLaboklab(71.55% -0.0523 0.1338)
OKLCHoklch(71.55% 0.144 111.4)
XYZxyz(30.9364, 37.5165, 7.8968)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB2B #2F2BAB
analogous
#AB6F2B #A7AB2B #67AB2B
triadic
#A7AB2B #2BA7AB #AB2BA7
tetradic
#A7AB2B #2BAB6F #2F2BAB #AB2B67
square
#A7AB2B #2BAB6F #2F2BAB #AB2B67
split-complementary
#A7AB2B #2B67AB #6F2BAB
monochromatic
#474912 #777A1F #A7AB2B #CBD043 #D9DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AB2B#FFFFFF#000000##000000
##A7AB2B1.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)
#B9A30E
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab2b;
/* rgb */ color: rgb(167, 171, 43);
/* oklch */ color: oklch(71.6% 0.144 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36f',
    500: '#a7ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab2b;
$custom-light: #c5c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab2b",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 61.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71551,
    "c": 0.14361,
    "h": 111.4
  },
  "luminance": 0.37516
}

Semantic roles & 50–950 ramp

primary
#A7AB2B
secondary
#716EC4
accent
#45E34A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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