#A7A031#A7A031

#A7A031 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.129 H 105.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A7A031
RGBrgb(167, 160, 49)
HSLhsl(56, 55%, 42%)
HSVhsv(56, 71%, 65%)
CMYKcmyk(0%, 4.2%, 70.7%, 34.5%)
CIE-LABlab(64.63, -10.68, 55.75)
CIE-LCHlch(64.63, 56.77, 100.85°)
OKLaboklab(69.14% -0.0349 0.1241)
OKLCHoklch(69.14% 0.129 105.7)
XYZxyz(29.0627, 33.5799, 7.8558)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A031 #3138A7
analogous
#A76531 #A7A031 #73A731
triadic
#A7A031 #31A7A0 #A031A7
tetradic
#A7A031 #31A765 #3138A7 #A73173
square
#A7A031 #31A765 #3138A7 #A73173
split-complementary
#A7A031 #3173A7 #6531A7
monochromatic
#484515 #787323 #A7A031 #CAC34B #D8D37A

Accessibility & contrast

On white

2.72
#A7A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#A7A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A031
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A031#FFFFFF#000000##000000
##A7A0311.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#B19F39
Tritanopia (blue-blind)
#B3958A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a031;
/* rgb */ color: rgb(167, 160, 49);
/* oklch */ color: oklch(69.1% 0.129 105.7);
Tailwind
colors: {
  custom: {
    50: '#c4bb70',
    500: '#a7a031',
    950: '#000000',
  },
}
SCSS
$custom: #a7a031;
$custom-light: #c4bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a031",
  "rgb": {
    "r": 167,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 56.441,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.1289,
    "h": 105.7
  },
  "luminance": 0.33579
}

Semantic roles & 50–950 ramp

primary
#A7A031
secondary
#7378C1
accent
#53DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A7A031

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

Preview Lab → · Contrast checker → · Palette generator →

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