#A7AA28#A7AA28

#A7AA28 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.144 H 110.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#A7AA28
RGBrgb(167, 170, 40)
HSLhsl(61, 62%, 41%)
HSVhsv(61, 76%, 67%)
CMYKcmyk(1.8%, 0%, 76.5%, 33.3%)
CIE-LABlab(67.37, -16.30, 61.55)
CIE-LCHlch(67.37, 63.67, 104.83°)
OKLaboklab(71.31% -0.0515 0.1347)
OKLCHoklch(71.31% 0.144 110.9)
XYZxyz(30.6952, 37.1190, 7.5548)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA28 #2B28AA
analogous
#AA6C28 #A7AA28 #66AA28
triadic
#A7AA28 #28A7AA #AA28A7
tetradic
#A7AA28 #28AA6C #2B28AA #AA2866
square
#A7AA28 #28AA6C #2B28AA #AA2866
split-complementary
#A7AA28 #2866AA #6C28AA
monochromatic
#464711 #76781C #A7AA28 #CED23E #DBDD6F

Accessibility & contrast

On white

2.49
#A7AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#A7AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA28
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA28#FFFFFF#000000##000000
##A7AA281.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A205
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#B39F92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a7aa28;
/* rgb */ color: rgb(167, 170, 40);
/* oklch */ color: oklch(71.3% 0.144 110.9);
Tailwind
colors: {
  custom: {
    50: '#c5c36d',
    500: '#a7aa28',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa28;
$custom-light: #c5c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa28",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 61.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71309,
    "c": 0.14422,
    "h": 110.9
  },
  "luminance": 0.37118
}

Semantic roles & 50–950 ramp

primary
#A7AA28
secondary
#6C6AC4
accent
#43E547
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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