#A7C731#A7C731

#A7C731 is a light, vivid yellow-green. Relative luminance 0.493; OKLCH L 78.0% C 0.171 H 121.3°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#A7C731
RGBrgb(167, 199, 49)
HSLhsl(73, 60%, 49%)
HSVhsv(73, 75%, 78%)
CMYKcmyk(16.1%, 0%, 75.4%, 22%)
CIE-LABlab(75.63, -30.14, 66.34)
CIE-LCHlch(75.63, 72.87, 114.44°)
OKLaboklab(77.96% -0.089 0.1464)
OKLCHoklch(77.96% 0.171 121.3)
XYZxyz(36.9148, 49.2841, 10.4732)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C731 #5131C7
analogous
#C79C31 #A7C731 #5CC731
triadic
#A7C731 #31A7C7 #C731A7
tetradic
#A7C731 #31C79C #5131C7 #C7315C
square
#A7C731 #31C79C #5131C7 #C7315C
split-complementary
#A7C731 #315CC7 #9C31C7
monochromatic
#556519 #7E9625 #A7C731 #BDD75E #D1E38F

Accessibility & contrast

On white

1.93
#A7C731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#A7C731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C731
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C731#FFFFFF#000000##000000
##A7C7311.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB0B
Deuteranopia (green-blind)
#CFBA3F
Tritanopia (blue-blind)
#B0BCAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a7c731;
/* rgb */ color: rgb(167, 199, 49);
/* oklch */ color: oklch(78.0% 0.171 121.3);
Tailwind
colors: {
  custom: {
    50: '#c5d875',
    500: '#a7c731',
    950: '#000000',
  },
}
SCSS
$custom: #a7c731;
$custom-light: #c5d875;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c731",
  "rgb": {
    "r": 167,
    "g": 199,
    "b": 49
  },
  "hsl": {
    "h": 72.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77962,
    "c": 0.17135,
    "h": 121.3
  },
  "luminance": 0.49284
}

Semantic roles & 50–950 ramp

primary
#A7C731
secondary
#9586CE
accent
#44E466
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C731

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

Preview Lab → · Contrast checker → · Palette generator →

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