#2A8436#2A8436

#2A8436 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.142 H 145.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A8436
RGBrgb(42, 132, 54)
HSLhsl(128, 52%, 34%)
HSVhsv(128, 68%, 52%)
CMYKcmyk(68.2%, 0%, 59.1%, 48.2%)
CIE-LABlab(48.59, -43.36, 34.00)
CIE-LCHlch(48.59, 55.10, 141.90°)
OKLaboklab(54.23% -0.1172 0.0807)
OKLCHoklch(54.23% 0.142 145.5)
XYZxyz(9.8713, 17.2601, 6.3006)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8436 #842A78
analogous
#4B842A #2A8436 #2A8463
triadic
#2A8436 #362A84 #84362A
tetradic
#2A8436 #2A4B84 #842A78 #84632A
square
#2A8436 #2A4B84 #842A78 #84632A
split-complementary
#2A8436 #632A84 #842A4B
monochromatic
#0C2710 #1B5623 #2A8436 #39B249 #5DCB6C

Accessibility & contrast

On white

4.72
#2A8436 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A8436 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A8436
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8436#FFFFFF#000000##FFFFFF
##2A84361.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782E
Deuteranopia (green-blind)
#7B703C
Tritanopia (blue-blind)
#0F8173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a8436;
/* rgb */ color: rgb(42, 132, 54);
/* oklch */ color: oklch(54.2% 0.142 145.5);
Tailwind
colors: {
  custom: {
    50: '#70a96f',
    500: '#2a8436',
    950: '#000000',
  },
}
SCSS
$custom: #2a8436;
$custom-light: #70a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8436",
  "rgb": {
    "r": 42,
    "g": 132,
    "b": 54
  },
  "hsl": {
    "h": 128,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.14228,
    "h": 145.5
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#2A8436
secondary
#B159A5
accent
#4DC8DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2A8436

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

Preview Lab → · Contrast checker → · Palette generator →

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