#A5C841#A5C841

#A5C841 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.2% C 0.164 H 122.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#A5C841
RGBrgb(165, 200, 65)
HSLhsl(76, 55%, 52%)
HSVhsv(76, 68%, 78%)
CMYKcmyk(17.5%, 0%, 67.5%, 21.6%)
CIE-LABlab(75.88, -30.53, 60.86)
CIE-LCHlch(75.88, 68.09, 116.64°)
OKLaboklab(78.16% -0.0886 0.1375)
OKLCHoklch(78.16% 0.164 122.8)
XYZxyz(37.1259, 49.6894, 12.6351)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C841 #6441C8
analogous
#C8A841 #A5C841 #61C841
triadic
#A5C841 #41A5C8 #C841A5
tetradic
#A5C841 #41C8A8 #6441C8 #C84161
square
#A5C841 #41C8A8 #6441C8 #C84161
split-complementary
#A5C841 #4161C8 #A841C8
monochromatic
#5A6F20 #819E2E #A5C841 #BBD670 #D2E3A0

Accessibility & contrast

On white

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

On black

10.94
#A5C841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C841
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C841#FFFFFF#000000##000000
##A5C8411.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2D
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#ADBEAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a5c841;
/* rgb */ color: rgb(165, 200, 65);
/* oklch */ color: oklch(78.2% 0.164 122.8);
Tailwind
colors: {
  custom: {
    50: '#c3d87d',
    500: '#a5c841',
    950: '#000000',
  },
}
SCSS
$custom: #a5c841;
$custom-light: #c3d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c841",
  "rgb": {
    "r": 165,
    "g": 200,
    "b": 65
  },
  "hsl": {
    "h": 75.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78162,
    "c": 0.16353,
    "h": 122.8
  },
  "luminance": 0.4969
}

Semantic roles & 50–950 ramp

primary
#A5C841
secondary
#A495D0
accent
#49DE70
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A5C841

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

Preview Lab → · Contrast checker → · Palette generator →

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