#A5C12A#A5C12A

#A5C12A is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.4% C 0.169 H 120.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#A5C12A
RGBrgb(165, 193, 42)
HSLhsl(71, 64%, 46%)
HSVhsv(71, 78%, 76%)
CMYKcmyk(14.5%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.74, -28.43, 66.70)
CIE-LCHlch(73.74, 72.51, 113.08°)
OKLaboklab(76.4% -0.0847 0.1461)
OKLCHoklch(76.4% 0.169 120.1)
XYZxyz(35.0056, 46.3066, 9.2840)
Luminance0.4631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C12A #462AC1
analogous
#C1912A #A5C12A #59C12A
triadic
#A5C12A #2AA5C1 #C12AA5
tetradic
#A5C12A #2AC191 #462AC1 #C12A59
square
#A5C12A #2AC191 #462AC1 #C12A59
split-complementary
#A5C12A #2A59C1 #912AC1
monochromatic
#4F5C14 #7A8F1F #A5C12A #BFD94F #D2E482

Accessibility & contrast

On white

2.05
#A5C12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#A5C12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C12A
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C12A#FFFFFF#000000##000000
##A5C12A1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#CAB639
Tritanopia (blue-blind)
#AFB6A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a5c12a;
/* rgb */ color: rgb(165, 193, 42);
/* oklch */ color: oklch(76.4% 0.169 120.1);
Tailwind
colors: {
  custom: {
    50: '#c4d371',
    500: '#a5c12a',
    950: '#000000',
  },
}
SCSS
$custom: #a5c12a;
$custom-light: #c4d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c12a",
  "rgb": {
    "r": 165,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 71.126,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76397,
    "c": 0.16887,
    "h": 120.1
  },
  "luminance": 0.46306
}

Semantic roles & 50–950 ramp

primary
#A5C12A
secondary
#897ACD
accent
#41E75F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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