#2B7D3A#2B7D3A

#2B7D3A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.129 H 146.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B7D3A
RGBrgb(43, 125, 58)
HSLhsl(131, 49%, 33%)
HSVhsv(131, 66%, 49%)
CMYKcmyk(65.6%, 0%, 53.6%, 51%)
CIE-LABlab(46.29, -39.82, 29.19)
CIE-LCHlch(46.29, 49.37, 143.76°)
OKLaboklab(52.36% -0.1076 0.0704)
OKLCHoklch(52.36% 0.129 146.8)
XYZxyz(9.0930, 15.4854, 6.5120)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D3A #7D2B6E
analogous
#457D2B #2B7D3A #2B7D63
triadic
#2B7D3A #3A2B7D #7D3A2B
tetradic
#2B7D3A #2B457D #7D2B6E #7D632B
square
#2B7D3A #2B457D #7D2B6E #7D632B
split-complementary
#2B7D3A #632B7D #7D2B45
monochromatic
#0C2210 #1B4F25 #2B7D3A #3BAB4F #5CC76F

Accessibility & contrast

On white

5.13
#2B7D3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2B7D3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D3A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D3A#FFFFFF#000000##FFFFFF
##2B7D3A1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7234
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#147A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d3a;
/* rgb */ color: rgb(43, 125, 58);
/* oklch */ color: oklch(52.4% 0.129 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ea372',
    500: '#2b7d3a',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d3a;
$custom-light: #6ea372;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d3a",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 130.976,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.12853,
    "h": 146.8
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#2B7D3A
secondary
#AD579D
accent
#4FBFD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B7D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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