#2A8A35#2A8A35

#2A8A35 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.151 H 145.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A8A35
RGBrgb(42, 138, 53)
HSLhsl(127, 53%, 35%)
HSVhsv(127, 70%, 54%)
CMYKcmyk(69.6%, 0%, 61.6%, 45.9%)
CIE-LABlab(50.60, -45.75, 36.83)
CIE-LCHlch(50.60, 58.74, 141.16°)
OKLaboklab(55.89% -0.1237 0.0867)
OKLCHoklch(55.89% 0.151 145)
XYZxyz(10.6852, 18.9251, 6.4573)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A35 #8A2A7F
analogous
#4F8A2A #2A8A35 #2A8A65
triadic
#2A8A35 #352A8A #8A352A
tetradic
#2A8A35 #2A4F8A #8A2A7F #8A652A
square
#2A8A35 #2A4F8A #8A2A7F #8A652A
split-complementary
#2A8A35 #652A8A #8A2A4F
monochromatic
#0D2C11 #1C5B23 #2A8A35 #38B947 #60CF6D

Accessibility & contrast

On white

4.39
#2A8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2A8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A35
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A35#FFFFFF#000000##000000
##2A8A351.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#81753C
Tritanopia (blue-blind)
#0B8678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a35;
/* rgb */ color: rgb(42, 138, 53);
/* oklch */ color: oklch(55.9% 0.151 145.0);
Tailwind
colors: {
  custom: {
    50: '#71ad6f',
    500: '#2a8a35',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a35;
$custom-light: #71ad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a35",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 126.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5589,
    "c": 0.15107,
    "h": 145
  },
  "luminance": 0.18926
}

Semantic roles & 50–950 ramp

primary
#2A8A35
secondary
#B45BAA
accent
#4BCCDD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2A8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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