#A7AB28#A7AB28

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

Color values

HEX#A7AB28
RGBrgb(167, 171, 40)
HSLhsl(62, 62%, 41%)
HSVhsv(62, 77%, 67%)
CMYKcmyk(2.3%, 0%, 76.6%, 32.9%)
CIE-LABlab(67.65, -16.81, 61.81)
CIE-LCHlch(67.65, 64.05, 105.21°)
OKLaboklab(71.53% -0.0529 0.1353)
OKLCHoklch(71.53% 0.145 111.4)
XYZxyz(30.8833, 37.4953, 7.6175)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AB28 #2C28AB
analogous
#AB6E28 #A7AB28 #66AB28
triadic
#A7AB28 #28A7AB #AB28A7
tetradic
#A7AB28 #28AB6E #2C28AB #AB2866
square
#A7AB28 #28AB6E #2C28AB #AB2866
split-complementary
#A7AB28 #2866AB #6E28AB
monochromatic
#464811 #77791C #A7AB28 #CDD23E #DADE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7AB28#FFFFFF#000000##000000
##A7AB281.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)
#B9A304
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B3A093
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #a7ab28;
/* rgb */ color: rgb(167, 171, 40);
/* oklch */ color: oklch(71.5% 0.145 111.4);
Tailwind
colors: {
  custom: {
    50: '#c5c36d',
    500: '#a7ab28',
    950: '#000000',
  },
}
SCSS
$custom: #a7ab28;
$custom-light: #c5c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ab28",
  "rgb": {
    "r": 167,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 61.832,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.14524,
    "h": 111.4
  },
  "luminance": 0.37495
}

Semantic roles & 50–950 ramp

primary
#A7AB28
secondary
#6D6AC4
accent
#43E548
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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