#A7AB2E#A7AB2E

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

Color values

HEX#A7AB2E
RGBrgb(167, 171, 46)
HSLhsl(62, 58%, 43%)
HSVhsv(62, 73%, 67%)
CMYKcmyk(2.3%, 0%, 73.1%, 32.9%)
CIE-LABlab(67.68, -16.54, 59.83)
CIE-LCHlch(67.68, 62.07, 105.45°)
OKLaboklab(71.57% -0.0516 0.1322)
OKLCHoklch(71.57% 0.142 111.3)
XYZxyz(30.9934, 37.5394, 8.1974)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB2E #322EAB
analogous
#AB702E #A7AB2E #68AB2E
triadic
#A7AB2E #2EA7AB #AB2EA7
tetradic
#A7AB2E #2EAB70 #322EAB #AB2E68
square
#A7AB2E #2EAB70 #322EAB #AB2E68
split-complementary
#A7AB2E #2E68AB #702EAB
monochromatic
#494B14 #787B21 #A7AB2E #CACE48 #D8DB79

Accessibility & contrast

On white

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

On black

8.51
#A7AB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AB2E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AB2E#FFFFFF#000000##000000
##A7AB2E1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ab2e;
/* rgb */ color: rgb(167, 171, 46);
/* oklch */ color: oklch(71.6% 0.142 111.3);
Tailwind
colors: {
  custom: {
    50: '#c5c370',
    500: '#a7ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab2e;
$custom-light: #c5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab2e",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 61.92,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.14188,
    "h": 111.3
  },
  "luminance": 0.37539
}

Semantic roles & 50–950 ramp

primary
#A7AB2E
secondary
#7472C3
accent
#47E14C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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