#A5C162#A5C162

#A5C162 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.9% C 0.126 H 122.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#A5C162
RGBrgb(165, 193, 98)
HSLhsl(78, 43%, 57%)
HSVhsv(78, 49%, 76%)
CMYKcmyk(14.5%, 0%, 49.2%, 24.3%)
CIE-LABlab(74.20, -24.41, 44.37)
CIE-LCHlch(74.20, 50.64, 118.82°)
OKLaboklab(76.91% -0.0685 0.1058)
OKLCHoklch(76.91% 0.126 122.9)
XYZxyz(36.7917, 47.0210, 18.6906)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C162 #7E62C1
analogous
#C1AE62 #A5C162 #76C162
triadic
#A5C162 #62A5C1 #C162A5
tetradic
#A5C162 #62C1AE #7E62C1 #C16276
square
#A5C162 #62C1AE #7E62C1 #C16276
split-complementary
#A5C162 #6276C1 #AE62C1
monochromatic
#637930 #87A541 #A5C162 #BED28E #D7E4BA

Accessibility & contrast

On white

2.02
#A5C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#A5C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C162
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C162#FFFFFF#000000##000000
##A5C1621.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB75A
Deuteranopia (green-blind)
#C7B667
Tritanopia (blue-blind)
#ABB9AB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c162;
/* rgb */ color: rgb(165, 193, 98);
/* oklch */ color: oklch(76.9% 0.126 122.9);
Tailwind
colors: {
  custom: {
    50: '#c1d391',
    500: '#a5c162',
    950: '#000000',
  },
}
SCSS
$custom: #a5c162;
$custom-light: #c1d391;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c162",
  "rgb": {
    "r": 165,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 77.684,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76914,
    "c": 0.12608,
    "h": 122.9
  },
  "luminance": 0.47021
}

Semantic roles & 50–950 ramp

primary
#A5C162
secondary
#B7ACD3
accent
#55D37A
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#12140D
muted
#81827E

Preview Lab

Preview with #A5C162

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

Preview Lab → · Contrast checker → · Palette generator →

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