#A7C642#A7C642

#A7C642 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.9% C 0.160 H 121.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#A7C642
RGBrgb(167, 198, 66)
HSLhsl(74, 54%, 52%)
HSVhsv(74, 67%, 78%)
CMYKcmyk(15.7%, 0%, 66.7%, 22.4%)
CIE-LABlab(75.45, -28.72, 60.07)
CIE-LCHlch(75.45, 66.58, 115.55°)
OKLaboklab(77.85% -0.0836 0.1359)
OKLCHoklch(77.85% 0.16 121.6)
XYZxyz(37.1143, 48.9970, 12.6553)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C642 #6142C6
analogous
#C6A342 #A7C642 #65C642
triadic
#A7C642 #42A7C6 #C642A7
tetradic
#A7C642 #42C6A3 #6142C6 #C64265
square
#A7C642 #42C6A3 #6142C6 #C64265
split-complementary
#A7C642 #4265C6 #A342C6
monochromatic
#5B6D21 #829C2F #A7C642 #BDD471 #D3E2A0

Accessibility & contrast

On white

1.94
#A7C642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#A7C642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C642
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C642#FFFFFF#000000##000000
##A7C6421.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2F
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#B0BCAB
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #a7c642;
/* rgb */ color: rgb(167, 198, 66);
/* oklch */ color: oklch(77.9% 0.160 121.6);
Tailwind
colors: {
  custom: {
    50: '#c4d77d',
    500: '#a7c642',
    950: '#000000',
  },
}
SCSS
$custom: #a7c642;
$custom-light: #c4d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c642",
  "rgb": {
    "r": 167,
    "g": 198,
    "b": 66
  },
  "hsl": {
    "h": 74.091,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77853,
    "c": 0.15956,
    "h": 121.6
  },
  "luminance": 0.48997
}

Semantic roles & 50–950 ramp

primary
#A7C642
secondary
#A395CF
accent
#4BDD6D
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A7C642

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

Preview Lab → · Contrast checker → · Palette generator →

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