#A5C962#A5C962

#A5C962 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.7% C 0.137 H 125.4°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#A5C962
RGBrgb(165, 201, 98)
HSLhsl(81, 49%, 59%)
HSVhsv(81, 51%, 79%)
CMYKcmyk(17.9%, 0%, 51.2%, 21.2%)
CIE-LABlab(76.47, -28.28, 47.09)
CIE-LCHlch(76.47, 54.93, 120.98°)
OKLaboklab(78.74% -0.0793 0.1118)
OKLCHoklch(78.74% 0.137 125.4)
XYZxyz(38.6083, 50.6541, 19.2961)
Luminance0.5065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C962 #8662C9
analogous
#C9B962 #A5C962 #71C962
triadic
#A5C962 #62A5C9 #C962A5
tetradic
#A5C962 #62C9B9 #8662C9 #C96271
square
#A5C962 #62C9B9 #8662C9 #C96271
split-complementary
#A5C962 #6271C9 #B962C9
monochromatic
#65832D #88B13D #A5C962 #BFD990 #D9E8BD

Accessibility & contrast

On white

1.89
#A5C962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#A5C962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C962
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C962#FFFFFF#000000##000000
##A5C9621.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE59
Deuteranopia (green-blind)
#CDBC68
Tritanopia (blue-blind)
#ABC1B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5c962;
/* rgb */ color: rgb(165, 201, 98);
/* oklch */ color: oklch(78.7% 0.137 125.4);
Tailwind
colors: {
  custom: {
    50: '#c2d991',
    500: '#a5c962',
    950: '#000000',
  },
}
SCSS
$custom: #a5c962;
$custom-light: #c2d991;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c962",
  "rgb": {
    "r": 165,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 80.971,
    "s": 48.815,
    "l": 58.627
  },
  "oklch": {
    "l": 0.78737,
    "c": 0.1371,
    "h": 125.4
  },
  "luminance": 0.50654
}

Semantic roles & 50–950 ramp

primary
#A5C962
secondary
#5D448B
accent
#4FD87F
background
#FDFEFC
surface
#F9FBF4
border
#D2D4CE
text
#13140D
muted
#82837F

Preview Lab

Preview with #A5C962

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

Preview Lab → · Contrast checker → · Palette generator →

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