#A7C331#A7C331

#A7C331 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.0% C 0.167 H 120.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#A7C331
RGBrgb(167, 195, 49)
HSLhsl(72, 60%, 48%)
HSVhsv(72, 75%, 76%)
CMYKcmyk(14.4%, 0%, 74.9%, 23.5%)
CIE-LABlab(74.49, -28.25, 65.27)
CIE-LCHlch(74.49, 71.12, 113.40°)
OKLaboklab(77.04% -0.0838 0.1442)
OKLCHoklch(77.04% 0.167 120.2)
XYZxyz(36.0065, 47.4676, 10.1704)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C331 #4D31C3
analogous
#C39631 #A7C331 #5EC331
triadic
#A7C331 #31A7C3 #C331A7
tetradic
#A7C331 #31C396 #4D31C3 #C3315E
square
#A7C331 #31C396 #4D31C3 #C3315E
split-complementary
#A7C331 #315EC3 #9631C3
monochromatic
#536118 #7D9225 #A7C331 #BED65B #D2E28C

Accessibility & contrast

On white

2.00
#A7C331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#A7C331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C331
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C331#FFFFFF#000000##000000
##A7C3311.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB70E
Deuteranopia (green-blind)
#CCB83E
Tritanopia (blue-blind)
#B1B8A7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a7c331;
/* rgb */ color: rgb(167, 195, 49);
/* oklch */ color: oklch(77.0% 0.167 120.2);
Tailwind
colors: {
  custom: {
    50: '#c5d574',
    500: '#a7c331',
    950: '#000000',
  },
}
SCSS
$custom: #a7c331;
$custom-light: #c5d574;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c331",
  "rgb": {
    "r": 167,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 71.507,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77043,
    "c": 0.16675,
    "h": 120.2
  },
  "luminance": 0.47467
}

Semantic roles & 50–950 ramp

primary
#A7C331
secondary
#9183CC
accent
#45E363
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A7C331

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

Preview Lab → · Contrast checker → · Palette generator →

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