#A7B031#A7B031

#A7B031 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.7% C 0.145 H 113.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A7B031
RGBrgb(167, 176, 49)
HSLhsl(64, 56%, 44%)
HSVhsv(64, 72%, 69%)
CMYKcmyk(5.1%, 0%, 72.2%, 31%)
CIE-LABlab(69.10, -18.93, 60.13)
CIE-LCHlch(69.10, 63.04, 107.48°)
OKLaboklab(72.72% -0.058 0.1333)
OKLCHoklch(72.72% 0.145 113.5)
XYZxyz(32.0170, 39.4886, 8.8406)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B031 #3A31B0
analogous
#B07A31 #A7B031 #68B031
triadic
#A7B031 #31A7B0 #B031A7
tetradic
#A7B031 #31B07A #3A31B0 #B03168
square
#A7B031 #31B07A #3A31B0 #B03168
split-complementary
#A7B031 #3168B0 #7A31B0
monochromatic
#4C5016 #7A8024 #A7B031 #C5CE50 #D5DC80

Accessibility & contrast

On white

2.36
#A7B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A7B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B031
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B031#FFFFFF#000000##000000
##A7B0311.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#B2A597
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b031;
/* rgb */ color: rgb(167, 176, 49);
/* oklch */ color: oklch(72.7% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#c4c772',
    500: '#a7b031',
    950: '#000000',
  },
}
SCSS
$custom: #a7b031;
$custom-light: #c4c772;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b031",
  "rgb": {
    "r": 167,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 64.252,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72716,
    "c": 0.14538,
    "h": 113.5
  },
  "luminance": 0.39488
}

Semantic roles & 50–950 ramp

primary
#A7B031
secondary
#7E78C5
accent
#48E053
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B031

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

Preview Lab → · Contrast checker → · Palette generator →

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