#A7AA30#A7AA30

#A7AA30 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.4% C 0.140 H 110.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#A7AA30
RGBrgb(167, 170, 48)
HSLhsl(61, 56%, 43%)
HSVhsv(61, 72%, 67%)
CMYKcmyk(1.8%, 0%, 71.8%, 33.3%)
CIE-LABlab(67.41, -15.93, 58.85)
CIE-LCHlch(67.41, 60.97, 105.15°)
OKLaboklab(71.36% -0.0497 0.1305)
OKLCHoklch(71.36% 0.14 110.9)
XYZxyz(30.8456, 37.1792, 8.3472)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AA30 #3330AA
analogous
#AA7030 #A7AA30 #6AAA30
triadic
#A7AA30 #30A7AA #AA30A7
tetradic
#A7AA30 #30AA70 #3330AA #AA306A
square
#A7AA30 #30AA70 #3330AA #AA306A
split-complementary
#A7AA30 #306AAA #7030AA
monochromatic
#494B15 #787A23 #A7AA30 #C9CC4B #D7DA7B

Accessibility & contrast

On white

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

On black

8.44
#A7AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AA30
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AA30#FFFFFF#000000##000000
##A7AA301.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7aa30;
/* rgb */ color: rgb(167, 170, 48);
/* oklch */ color: oklch(71.4% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#c4c371',
    500: '#a7aa30',
    950: '#000000',
  },
}
SCSS
$custom: #a7aa30;
$custom-light: #c4c371;
$custom-dark: #000000;
JSON
{
  "hex": "#a7aa30",
  "rgb": {
    "r": 167,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 61.475,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71359,
    "c": 0.13961,
    "h": 110.9
  },
  "luminance": 0.37178
}

Semantic roles & 50–950 ramp

primary
#A7AA30
secondary
#7674C2
accent
#49DF4C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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