#A7D162#A7D162

#A7D162 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.7% C 0.147 H 126.7°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#A7D162
RGBrgb(167, 209, 98)
HSLhsl(83, 55%, 60%)
HSVhsv(83, 53%, 82%)
CMYKcmyk(20.1%, 0%, 53.1%, 18%)
CIE-LABlab(78.87, -31.30, 49.96)
CIE-LCHlch(78.87, 58.96, 122.06°)
OKLaboklab(80.7% -0.0879 0.1181)
OKLCHoklch(80.7% 0.147 126.7)
XYZxyz(40.9413, 54.6977, 19.9537)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D162 #8C62D1
analogous
#D1C462 #A7D162 #6FD162
triadic
#A7D162 #62A7D1 #D162A7
tetradic
#A7D162 #62D1C4 #8C62D1 #D1626F
square
#A7D162 #62D1C4 #8C62D1 #D1626F
split-complementary
#A7D162 #626FD1 #C462D1
monochromatic
#698F2A #8BBE38 #A7D162 #C2DF91 #DCEDC1

Accessibility & contrast

On white

1.76
#A7D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#A7D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D162
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D162#FFFFFF#000000##000000
##A7D1621.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#D5C369
Tritanopia (blue-blind)
#ACC9B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d162;
/* rgb */ color: rgb(167, 209, 98);
/* oklch */ color: oklch(80.7% 0.147 126.7);
Tailwind
colors: {
  custom: {
    50: '#c3df92',
    500: '#a7d162',
    950: '#000000',
  },
}
SCSS
$custom: #a7d162;
$custom-light: #c3df92;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d162",
  "rgb": {
    "r": 167,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 82.703,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80703,
    "c": 0.14717,
    "h": 126.7
  },
  "luminance": 0.54698
}

Semantic roles & 50–950 ramp

primary
#A7D162
secondary
#624295
accent
#23C25F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150D
muted
#82847F

Preview Lab

Preview with #A7D162

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

Preview Lab → · Contrast checker → · Palette generator →

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