#2A8536#2A8536

#2A8536 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.144 H 145.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A8536
RGBrgb(42, 133, 54)
HSLhsl(128, 52%, 34%)
HSVhsv(128, 68%, 52%)
CMYKcmyk(68.4%, 0%, 59.4%, 47.8%)
CIE-LABlab(48.92, -43.74, 34.40)
CIE-LCHlch(48.92, 55.65, 141.82°)
OKLaboklab(54.51% -0.1182 0.0815)
OKLCHoklch(54.51% 0.144 145.4)
XYZxyz(10.0076, 17.5326, 6.3460)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8536 #852A79
analogous
#4C852A #2A8536 #2A8564
triadic
#2A8536 #362A85 #85362A
tetradic
#2A8536 #2A4C85 #852A79 #85642A
square
#2A8536 #2A4C85 #852A79 #85642A
split-complementary
#2A8536 #642A85 #852A4C
monochromatic
#0D2810 #1B5623 #2A8536 #39B449 #5DCC6C

Accessibility & contrast

On white

4.66
#2A8536 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2A8536 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8536
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8536#FFFFFF#000000##FFFFFF
##2A85361.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792E
Deuteranopia (green-blind)
#7C713C
Tritanopia (blue-blind)
#0E8274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8536;
/* rgb */ color: rgb(42, 133, 54);
/* oklch */ color: oklch(54.5% 0.144 145.4);
Tailwind
colors: {
  custom: {
    50: '#70a96f',
    500: '#2a8536',
    950: '#000000',
  },
}
SCSS
$custom: #2a8536;
$custom-light: #70a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8536",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 127.912,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.14362,
    "h": 145.4
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#2A8536
secondary
#B259A6
accent
#4CC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8536

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

Preview Lab → · Contrast checker → · Palette generator →

#2A8536 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva