#2A7836#2A7836

#2A7836 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.126 H 146.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#2A7836
RGBrgb(42, 120, 54)
HSLhsl(129, 48%, 32%)
HSVhsv(129, 65%, 47%)
CMYKcmyk(65%, 0%, 55%, 52.9%)
CIE-LABlab(44.51, -38.64, 29.11)
CIE-LCHlch(44.51, 48.38, 143.01°)
OKLaboklab(50.86% -0.1045 0.0699)
OKLCHoklch(50.86% 0.126 146.2)
XYZxyz(8.3366, 14.1907, 5.7891)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7836 #782A6C
analogous
#45782A #2A7836 #2A785D
triadic
#2A7836 #362A78 #78362A
tetradic
#2A7836 #2A4578 #782A6C #785D2A
square
#2A7836 #2A4578 #782A6C #785D2A
split-complementary
#2A7836 #5D2A78 #782A45
monochromatic
#0A1D0D #1A4B22 #2A7836 #3AA54A #58C569

Accessibility & contrast

On white

5.47
#2A7836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#2A7836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7836
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7836#FFFFFF#000000##FFFFFF
##2A78361.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D30
Deuteranopia (green-blind)
#70673B
Tritanopia (blue-blind)
#167569
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7836;
/* rgb */ color: rgb(42, 120, 54);
/* oklch */ color: oklch(50.9% 0.126 146.2);
Tailwind
colors: {
  custom: {
    50: '#6da06f',
    500: '#2a7836',
    950: '#000000',
  },
}
SCSS
$custom: #2a7836;
$custom-light: #6da06f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7836",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 54
  },
  "hsl": {
    "h": 129.231,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.12572,
    "h": 146.2
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#2A7836
secondary
#AA549D
accent
#50C3D8
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2A7836

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

Preview Lab → · Contrast checker → · Palette generator →

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