#A5C837#A5C837

#A5C837 is a light, vivid yellow-green. Relative luminance 0.496; OKLCH L 78.1% C 0.170 H 122.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#A5C837
RGBrgb(165, 200, 55)
HSLhsl(74, 57%, 50%)
HSVhsv(74, 73%, 78%)
CMYKcmyk(17.5%, 0%, 72.5%, 21.6%)
CIE-LABlab(75.81, -31.12, 64.47)
CIE-LCHlch(75.81, 71.59, 115.77°)
OKLaboklab(78.09% -0.0911 0.1435)
OKLCHoklch(78.09% 0.17 122.4)
XYZxyz(36.8614, 49.5836, 11.2423)
Luminance0.4958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C837 #5A37C8
analogous
#C8A337 #A5C837 #5CC837
triadic
#A5C837 #37A5C8 #C837A5
tetradic
#A5C837 #37C8A3 #5A37C8 #C8375C
square
#A5C837 #37C8A3 #5A37C8 #C8375C
split-complementary
#A5C837 #375CC8 #A337C8
monochromatic
#56681D #7D982A #A5C837 #BBD567 #D0E297

Accessibility & contrast

On white

1.92
#A5C837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#A5C837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C837
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C837#FFFFFF#000000##000000
##A5C8371.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1B
Deuteranopia (green-blind)
#CFBB44
Tritanopia (blue-blind)
#AEBEAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a5c837;
/* rgb */ color: rgb(165, 200, 55);
/* oklch */ color: oklch(78.1% 0.170 122.4);
Tailwind
colors: {
  custom: {
    50: '#c3d878',
    500: '#a5c837',
    950: '#000000',
  },
}
SCSS
$custom: #a5c837;
$custom-light: #c3d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c837",
  "rgb": {
    "r": 165,
    "g": 200,
    "b": 55
  },
  "hsl": {
    "h": 74.483,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.78088,
    "c": 0.16998,
    "h": 122.4
  },
  "luminance": 0.49584
}

Semantic roles & 50–950 ramp

primary
#A5C837
secondary
#9D8DCE
accent
#48E06C
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A5C837

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

Preview Lab → · Contrast checker → · Palette generator →

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