#2B7E30#2B7E30

#2B7E30 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.139 H 144.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2B7E30
RGBrgb(43, 126, 48)
HSLhsl(124, 49%, 33%)
HSVhsv(124, 66%, 49%)
CMYKcmyk(65.9%, 0%, 61.9%, 50.6%)
CIE-LABlab(46.51, -41.62, 34.56)
CIE-LCHlch(46.51, 54.10, 140.30°)
OKLaboklab(52.5% -0.1128 0.0813)
OKLCHoklch(52.5% 0.139 144.2)
XYZxyz(8.9901, 15.6478, 5.3423)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E30 #7E2B79
analogous
#507E2B #2B7E30 #2B7E59
triadic
#2B7E30 #302B7E #7E302B
tetradic
#2B7E30 #2B507E #7E2B79 #7E592B
square
#2B7E30 #2B507E #7E2B79 #7E592B
split-complementary
#2B7E30 #592B7E #7E2B50
monochromatic
#0C230D #1B501F #2B7E30 #3BAC41 #5CC762

Accessibility & contrast

On white

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

On black

4.13
#2B7E30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7E30#FFFFFF#000000##FFFFFF
##2B7E301.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807228
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#187B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e30;
/* rgb */ color: rgb(43, 126, 48);
/* oklch */ color: oklch(52.5% 0.139 144.2);
Tailwind
colors: {
  custom: {
    50: '#6fa46b',
    500: '#2b7e30',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e30;
$custom-light: #6fa46b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e30",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 123.614,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.13906,
    "h": 144.2
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#2B7E30
secondary
#AD58A8
accent
#4FD0D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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