#A7C328#A7C328

#A7C328 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 77.0% C 0.171 H 120.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#A7C328
RGBrgb(167, 195, 40)
HSLhsl(71, 66%, 46%)
HSVhsv(71, 79%, 76%)
CMYKcmyk(14.4%, 0%, 79.5%, 23.5%)
CIE-LABlab(74.44, -28.64, 67.96)
CIE-LCHlch(74.44, 73.75, 112.85°)
OKLaboklab(76.99% -0.0855 0.1484)
OKLCHoklch(76.99% 0.171 120)
XYZxyz(35.8352, 47.3991, 9.2682)
Luminance0.4740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C328 #4428C3
analogous
#C39128 #A7C328 #59C328
triadic
#A7C328 #28A7C3 #C328A7
tetradic
#A7C328 #28C391 #4428C3 #C32859
square
#A7C328 #28C391 #4428C3 #C32859
split-complementary
#A7C328 #2859C3 #9128C3
monochromatic
#505D13 #7C901E #A7C328 #C1DB4E #D3E580

Accessibility & contrast

On white

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

On black

10.48
#A7C328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C328
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C328#FFFFFF#000000##000000
##A7C3281.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7c328;
/* rgb */ color: rgb(167, 195, 40);
/* oklch */ color: oklch(77.0% 0.171 120.0);
Tailwind
colors: {
  custom: {
    50: '#c5d570',
    500: '#a7c328',
    950: '#000000',
  },
}
SCSS
$custom: #a7c328;
$custom-light: #c5d570;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c328",
  "rgb": {
    "r": 167,
    "g": 195,
    "b": 40
  },
  "hsl": {
    "h": 70.839,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76994,
    "c": 0.17124,
    "h": 120
  },
  "luminance": 0.47399
}

Semantic roles & 50–950 ramp

primary
#A7C328
secondary
#8879CE
accent
#3FE95E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A7C328

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

Preview Lab → · Contrast checker → · Palette generator →

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