#A7CC40#A7CC40

#A7CC40 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.2% C 0.168 H 123.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#A7CC40
RGBrgb(167, 204, 64)
HSLhsl(76, 58%, 53%)
HSVhsv(76, 69%, 80%)
CMYKcmyk(18.1%, 0%, 68.6%, 20%)
CIE-LABlab(77.14, -31.68, 62.58)
CIE-LCHlch(77.14, 70.14, 116.85°)
OKLaboklab(79.22% -0.092 0.1409)
OKLCHoklch(79.22% 0.168 123.1)
XYZxyz(38.4550, 51.7712, 12.8164)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7CC40 #6540CC
analogous
#CCAB40 #A7CC40 #61CC40
triadic
#A7CC40 #40A7CC #CC40A7
tetradic
#A7CC40 #40CCAB #6540CC #CC4061
square
#A7CC40 #40CCAB #6540CC #CC4061
split-complementary
#A7CC40 #4061CC #AB40CC
monochromatic
#5D731F #84A32C #A7CC40 #BDD970 #D4E6A1

Accessibility & contrast

On white

1.85
#A7CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#A7CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7CC40
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7CC40#FFFFFF#000000##000000
##A7CC401.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02A
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#AFC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a7cc40;
/* rgb */ color: rgb(167, 204, 64);
/* oklch */ color: oklch(79.2% 0.168 123.1);
Tailwind
colors: {
  custom: {
    50: '#c4db7d',
    500: '#a7cc40',
    950: '#000000',
  },
}
SCSS
$custom: #a7cc40;
$custom-light: #c4db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7cc40",
  "rgb": {
    "r": 167,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 75.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79215,
    "c": 0.16824,
    "h": 123.1
  },
  "luminance": 0.51771
}

Semantic roles & 50–950 ramp

primary
#A7CC40
secondary
#47347C
accent
#47E170
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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