#A7A131#A7A131

#A7A131 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.4% C 0.130 H 106.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A7A131
RGBrgb(167, 161, 49)
HSLhsl(57, 55%, 42%)
HSVhsv(57, 71%, 65%)
CMYKcmyk(0%, 3.6%, 70.7%, 34.5%)
CIE-LABlab(64.91, -11.21, 56.03)
CIE-LCHlch(64.91, 57.14, 101.31°)
OKLaboklab(69.36% -0.0364 0.1247)
OKLCHoklch(69.36% 0.13 106.3)
XYZxyz(29.2367, 33.9280, 7.9138)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A131 #3137A7
analogous
#A76631 #A7A131 #72A731
triadic
#A7A131 #31A7A1 #A131A7
tetradic
#A7A131 #31A766 #3137A7 #A73172
square
#A7A131 #31A766 #3137A7 #A73172
split-complementary
#A7A131 #3172A7 #6631A7
monochromatic
#484615 #787323 #A7A131 #CAC44B #D8D37A

Accessibility & contrast

On white

2.70
#A7A131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A7A131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A131
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A131#FFFFFF#000000##000000
##A7A1311.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B1A039
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a131;
/* rgb */ color: rgb(167, 161, 49);
/* oklch */ color: oklch(69.4% 0.130 106.3);
Tailwind
colors: {
  custom: {
    50: '#c4bc70',
    500: '#a7a131',
    950: '#000000',
  },
}
SCSS
$custom: #a7a131;
$custom-light: #c4bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a131",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 56.949,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69361,
    "c": 0.12987,
    "h": 106.3
  },
  "luminance": 0.33927
}

Semantic roles & 50–950 ramp

primary
#A7A131
secondary
#7377C1
accent
#51DE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A131

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

Preview Lab → · Contrast checker → · Palette generator →

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