#2B7E34#2B7E34

#2B7E34 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.136 H 145.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2B7E34
RGBrgb(43, 126, 52)
HSLhsl(127, 49%, 33%)
HSVhsv(127, 66%, 49%)
CMYKcmyk(65.9%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.55, -41.09, 32.61)
CIE-LCHlch(46.55, 52.46, 141.56°)
OKLaboklab(52.55% -0.1112 0.0775)
OKLCHoklch(52.55% 0.136 145.1)
XYZxyz(9.0764, 15.6823, 5.7968)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E34 #7E2B75
analogous
#4B7E2B #2B7E34 #2B7E5D
triadic
#2B7E34 #342B7E #7E342B
tetradic
#2B7E34 #2B4B7E #7E2B75 #7E5D2B
square
#2B7E34 #2B4B7E #7E2B75 #7E5D2B
split-complementary
#2B7E34 #5D2B7E #7E2B4B
monochromatic
#0C230E #1B5021 #2B7E34 #3BAC47 #5CC768

Accessibility & contrast

On white

5.08
#2B7E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2B7E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E34
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E34#FFFFFF#000000##FFFFFF
##2B7E341.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#167B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e34;
/* rgb */ color: rgb(43, 126, 52);
/* oklch */ color: oklch(52.6% 0.136 145.1);
Tailwind
colors: {
  custom: {
    50: '#6fa46e',
    500: '#2b7e34',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e34;
$custom-light: #6fa46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e34",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 126.506,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.13553,
    "h": 145.1
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#2B7E34
secondary
#AD58A4
accent
#4FCAD9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7E34

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

Preview Lab → · Contrast checker → · Palette generator →

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