#A7AB2D#A7AB2D

#A7AB2D 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#A7AB2D
RGBrgb(167, 171, 45)
HSLhsl(62, 58%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.3%, 0%, 73.7%, 32.9%)
CIE-LABlab(67.67, -16.59, 60.17)
CIE-LCHlch(67.67, 62.41, 105.41°)
OKLaboklab(71.56% -0.0519 0.1327)
OKLCHoklch(71.56% 0.142 111.3)
XYZxyz(30.9740, 37.5316, 8.0948)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB2D #312DAB
analogous
#AB702D #A7AB2D #68AB2D
triadic
#A7AB2D #2DA7AB #AB2DA7
tetradic
#A7AB2D #2DAB70 #312DAB #AB2D68
square
#A7AB2D #2DAB70 #312DAB #AB2D68
split-complementary
#A7AB2D #2D68AB #702DAB
monochromatic
#484A14 #787B20 #A7AB2D #CACE47 #D8DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AB2D#FFFFFF#000000##000000
##A7AB2D1.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)
#B8A313
Deuteranopia (green-blind)
#B9A637
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab2d;
/* rgb */ color: rgb(167, 171, 45);
/* oklch */ color: oklch(71.6% 0.142 111.3);
Tailwind
colors: {
  custom: {
    50: '#c5c370',
    500: '#a7ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab2d;
$custom-light: #c5c370;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab2d",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 61.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.14246,
    "h": 111.3
  },
  "luminance": 0.37531
}

Semantic roles & 50–950 ramp

primary
#A7AB2D
secondary
#7371C3
accent
#46E24B
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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