#A7C040#A7C040

#A7C040 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.5% C 0.154 H 119.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#A7C040
RGBrgb(167, 192, 64)
HSLhsl(72, 50%, 50%)
HSVhsv(72, 67%, 75%)
CMYKcmyk(13%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.73, -25.97, 59.08)
CIE-LCHlch(73.73, 64.54, 113.73°)
OKLaboklab(76.46% -0.0762 0.1335)
OKLCHoklch(76.46% 0.154 119.7)
XYZxyz(35.7120, 46.2851, 11.9021)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C040 #5940C0
analogous
#C09940 #A7C040 #67C040
triadic
#A7C040 #40A7C0 #C040A7
tetradic
#A7C040 #40C099 #5940C0 #C04067
square
#A7C040 #40C099 #5940C0 #C04067
split-complementary
#A7C040 #4067C0 #9940C0
monochromatic
#576421 #7F9230 #A7C040 #BCCF6E #D1DE9C

Accessibility & contrast

On white

2.05
#A7C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#A7C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C040
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C040#FFFFFF#000000##000000
##A7C0401.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#B0B6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a7c040;
/* rgb */ color: rgb(167, 192, 64);
/* oklch */ color: oklch(76.5% 0.154 119.7);
Tailwind
colors: {
  custom: {
    50: '#c4d37c',
    500: '#a7c040',
    950: '#000000',
  },
}
SCSS
$custom: #a7c040;
$custom-light: #c4d37c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c040",
  "rgb": {
    "r": 167,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 71.719,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76463,
    "c": 0.15373,
    "h": 119.7
  },
  "luminance": 0.46285
}

Semantic roles & 50–950 ramp

primary
#A7C040
secondary
#9C91CB
accent
#4EDA69
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A7C040

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

Preview Lab → · Contrast checker → · Palette generator →

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