#2A8535#2A8535

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

Color values

HEX#2A8535
RGBrgb(42, 133, 53)
HSLhsl(127, 52%, 34%)
HSVhsv(127, 68%, 52%)
CMYKcmyk(68.4%, 0%, 60.2%, 47.8%)
CIE-LABlab(48.91, -43.88, 34.88)
CIE-LCHlch(48.91, 56.05, 141.52°)
OKLaboklab(54.5% -0.1186 0.0825)
OKLCHoklch(54.5% 0.144 145.2)
XYZxyz(9.9843, 17.5233, 6.2236)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8535 #852A7A
analogous
#4D852A #2A8535 #2A8563
triadic
#2A8535 #352A85 #85352A
tetradic
#2A8535 #2A4D85 #852A7A #85632A
square
#2A8535 #2A4D85 #852A7A #85632A
split-complementary
#2A8535 #632A85 #852A4D
monochromatic
#0D2810 #1B5622 #2A8535 #39B448 #5DCC6B

Accessibility & contrast

On white

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

On black

4.50
#2A8535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A8535#FFFFFF#000000##FFFFFF
##2A85351.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792D
Deuteranopia (green-blind)
#7C713B
Tritanopia (blue-blind)
#0F8274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a8535;
/* rgb */ color: rgb(42, 133, 53);
/* oklch */ color: oklch(54.5% 0.144 145.2);
Tailwind
colors: {
  custom: {
    50: '#70a96f',
    500: '#2a8535',
    950: '#000000',
  },
}
SCSS
$custom: #2a8535;
$custom-light: #70a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8535",
  "rgb": {
    "r": 42,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 127.253,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.14449,
    "h": 145.2
  },
  "luminance": 0.17524
}

Semantic roles & 50–950 ramp

primary
#2A8535
secondary
#B259A7
accent
#4CCADB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8535

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

Preview Lab → · Contrast checker → · Palette generator →

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