#2B7D3E#2B7D3E

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

Color values

HEX#2B7D3E
RGBrgb(43, 125, 62)
HSLhsl(134, 49%, 33%)
HSVhsv(134, 66%, 49%)
CMYKcmyk(65.6%, 0%, 50.4%, 51%)
CIE-LABlab(46.35, -39.18, 27.12)
CIE-LCHlch(46.35, 47.65, 145.32°)
OKLaboklab(52.42% -0.1058 0.0659)
OKLCHoklch(52.42% 0.125 148.1)
XYZxyz(9.1987, 15.5277, 7.0689)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D3E #7D2B6A
analogous
#417D2B #2B7D3E #2B7D67
triadic
#2B7D3E #3E2B7D #7D3E2B
tetradic
#2B7D3E #2B417D #7D2B6A #7D672B
square
#2B7D3E #2B417D #7D2B6A #7D672B
split-complementary
#2B7D3E #672B7D #7D2B41
monochromatic
#0C2211 #1B4F27 #2B7D3E #3BAB55 #5CC774

Accessibility & contrast

On white

5.11
#2B7D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2B7D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D3E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D3E#FFFFFF#000000##FFFFFF
##2B7D3E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7239
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#127A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7d3e;
/* rgb */ color: rgb(43, 125, 62);
/* oklch */ color: oklch(52.4% 0.125 148.1);
Tailwind
colors: {
  custom: {
    50: '#6ea374',
    500: '#2b7d3e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d3e;
$custom-light: #6ea374;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d3e",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 62
  },
  "hsl": {
    "h": 133.902,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.12464,
    "h": 148.1
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#2B7D3E
secondary
#AD5799
accent
#4FB9D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B7D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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