#A7D142#A7D142

#A7D142 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.4% C 0.173 H 124.4°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#A7D142
RGBrgb(167, 209, 66)
HSLhsl(78, 61%, 54%)
HSVhsv(78, 68%, 82%)
CMYKcmyk(20.1%, 0%, 68.4%, 18%)
CIE-LABlab(78.58, -33.87, 63.29)
CIE-LCHlch(78.58, 71.78, 118.15°)
OKLaboklab(80.38% -0.0978 0.1427)
OKLCHoklch(80.38% 0.173 124.4)
XYZxyz(39.7205, 54.2094, 13.5240)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D142 #6C42D1
analogous
#D1B342 #A7D142 #60D142
triadic
#A7D142 #42A7D1 #D142A7
tetradic
#A7D142 #42D1B3 #6C42D1 #D14260
square
#A7D142 #42D1B3 #6C42D1 #D14260
split-complementary
#A7D142 #4260D1 #B342D1
monochromatic
#5F7B1E #86AC2A #A7D142 #BEDD73 #D5E9A4

Accessibility & contrast

On white

1.77
#A7D142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#A7D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D142
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D142#FFFFFF#000000##000000
##A7D1421.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42C
Deuteranopia (green-blind)
#D7C24E
Tritanopia (blue-blind)
#AFC7B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a7d142;
/* rgb */ color: rgb(167, 209, 66);
/* oklch */ color: oklch(80.4% 0.173 124.4);
Tailwind
colors: {
  custom: {
    50: '#c5df7e',
    500: '#a7d142',
    950: '#000000',
  },
}
SCSS
$custom: #a7d142;
$custom-light: #c5df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d142",
  "rgb": {
    "r": 167,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 77.622,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80383,
    "c": 0.17298,
    "h": 124.4
  },
  "luminance": 0.5421
}

Semantic roles & 50–950 ramp

primary
#A7D142
secondary
#4C3583
accent
#44E473
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D142

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

Preview Lab → · Contrast checker → · Palette generator →

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