#A7C831#A7C831

#A7C831 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.2% C 0.173 H 121.6°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#A7C831
RGBrgb(167, 200, 49)
HSLhsl(73, 61%, 49%)
HSVhsv(73, 76%, 78%)
CMYKcmyk(16.5%, 0%, 75.5%, 21.6%)
CIE-LABlab(75.91, -30.62, 66.61)
CIE-LCHlch(75.91, 73.31, 114.68°)
OKLaboklab(78.19% -0.0903 0.147)
OKLCHoklch(78.19% 0.173 121.6)
XYZxyz(37.1456, 49.7458, 10.5501)
Luminance0.4975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C831 #5231C8
analogous
#C89E31 #A7C831 #5BC831
triadic
#A7C831 #31A7C8 #C831A7
tetradic
#A7C831 #31C89E #5231C8 #C8315B
square
#A7C831 #31C89E #5231C8 #C8315B
split-complementary
#A7C831 #315BC8 #9E31C8
monochromatic
#556619 #7E9725 #A7C831 #BDD85F #D1E490

Accessibility & contrast

On white

1.92
#A7C831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#A7C831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C831
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C831#FFFFFF#000000##000000
##A7C8311.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0A
Deuteranopia (green-blind)
#D0BB3F
Tritanopia (blue-blind)
#B0BDAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a7c831;
/* rgb */ color: rgb(167, 200, 49);
/* oklch */ color: oklch(78.2% 0.173 121.6);
Tailwind
colors: {
  custom: {
    50: '#c5d875',
    500: '#a7c831',
    950: '#000000',
  },
}
SCSS
$custom: #a7c831;
$custom-light: #c5d875;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c831",
  "rgb": {
    "r": 167,
    "g": 200,
    "b": 49
  },
  "hsl": {
    "h": 73.113,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.17251,
    "h": 121.6
  },
  "luminance": 0.49746
}

Semantic roles & 50–950 ramp

primary
#A7C831
secondary
#9686CE
accent
#44E467
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C831

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

Preview Lab → · Contrast checker → · Palette generator →

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