#A7C740#A7C740

#A7C740 is a light, vivid yellow-green. Relative luminance 0.494; OKLCH L 78.1% C 0.162 H 121.8°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#A7C740
RGBrgb(167, 199, 64)
HSLhsl(74, 55%, 52%)
HSVhsv(74, 68%, 78%)
CMYKcmyk(16.1%, 0%, 67.8%, 22%)
CIE-LABlab(75.72, -29.32, 61.12)
CIE-LCHlch(75.72, 67.79, 115.63°)
OKLaboklab(78.07% -0.0855 0.1378)
OKLCHoklch(78.07% 0.162 121.8)
XYZxyz(37.2857, 49.4325, 12.4266)
Luminance0.4943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C740 #6040C7
analogous
#C7A440 #A7C740 #64C740
triadic
#A7C740 #40A7C7 #C740A7
tetradic
#A7C740 #40C7A4 #6040C7 #C74064
square
#A7C740 #40C7A4 #6040C7 #C74064
split-complementary
#A7C740 #4064C7 #A440C7
monochromatic
#5B6D20 #829C2E #A7C740 #BDD56F #D3E39F

Accessibility & contrast

On white

1.93
#A7C740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#A7C740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C740
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C740#FFFFFF#000000##000000
##A7C7401.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7c740;
/* rgb */ color: rgb(167, 199, 64);
/* oklch */ color: oklch(78.1% 0.162 121.8);
Tailwind
colors: {
  custom: {
    50: '#c4d87c',
    500: '#a7c740',
    950: '#000000',
  },
}
SCSS
$custom: #a7c740;
$custom-light: #c4d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c740",
  "rgb": {
    "r": 167,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 74.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78066,
    "c": 0.16217,
    "h": 121.8
  },
  "luminance": 0.49433
}

Semantic roles & 50–950 ramp

primary
#A7C740
secondary
#A294CF
accent
#4ADE6D
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A7C740

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

Preview Lab → · Contrast checker → · Palette generator →

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