#A7AB2C#A7AB2C

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

Color values

HEX#A7AB2C
RGBrgb(167, 171, 44)
HSLhsl(62, 59%, 42%)
HSVhsv(62, 74%, 67%)
CMYKcmyk(2.3%, 0%, 74.3%, 32.9%)
CIE-LABlab(67.67, -16.63, 60.51)
CIE-LCHlch(67.67, 62.75, 105.37°)
OKLaboklab(71.56% -0.0521 0.1332)
OKLCHoklch(71.56% 0.143 111.4)
XYZxyz(30.9549, 37.5240, 7.9946)
Luminance0.3752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB2C #302CAB
analogous
#AB702C #A7AB2C #67AB2C
triadic
#A7AB2C #2CA7AB #AB2CA7
tetradic
#A7AB2C #2CAB70 #302CAB #AB2C67
square
#A7AB2C #2CAB70 #302CAB #AB2C67
split-complementary
#A7AB2C #2C67AB #702CAB
monochromatic
#484A13 #777A1F #A7AB2C #CBCF45 #D8DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7ab2c;
/* rgb */ color: rgb(167, 171, 44);
/* oklch */ color: oklch(71.6% 0.143 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36f',
    500: '#a7ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab2c;
$custom-light: #c5c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab2c",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 61.89,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.14305,
    "h": 111.4
  },
  "luminance": 0.37523
}

Semantic roles & 50–950 ramp

primary
#A7AB2C
secondary
#726FC3
accent
#46E24A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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