#2B7F3E#2B7F3E

#2B7F3E is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.0% C 0.128 H 147.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B7F3E
RGBrgb(43, 127, 62)
HSLhsl(134, 49%, 33%)
HSVhsv(134, 66%, 50%)
CMYKcmyk(66.1%, 0%, 51.2%, 50.2%)
CIE-LABlab(47.03, -39.99, 27.96)
CIE-LCHlch(47.03, 48.80, 145.04°)
OKLaboklab(52.98% -0.1079 0.0678)
OKLCHoklch(52.98% 0.128 147.9)
XYZxyz(9.4545, 16.0392, 7.1541)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F3E #7F2B6C
analogous
#427F2B #2B7F3E #2B7F68
triadic
#2B7F3E #3E2B7F #7F3E2B
tetradic
#2B7F3E #2B427F #7F2B6C #7F682B
square
#2B7F3E #2B427F #7F2B6C #7F682B
split-complementary
#2B7F3E #682B7F #7F2B42
monochromatic
#0C2411 #1C5128 #2B7F3E #3AAD54 #5CC875

Accessibility & contrast

On white

4.99
#2B7F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2B7F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F3E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F3E#FFFFFF#000000##FFFFFF
##2B7F3E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807439
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#117C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f3e;
/* rgb */ color: rgb(43, 127, 62);
/* oklch */ color: oklch(53.0% 0.128 147.9);
Tailwind
colors: {
  custom: {
    50: '#6fa574',
    500: '#2b7f3e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f3e;
$custom-light: #6fa574;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f3e",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 133.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.1275,
    "h": 147.9
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#2B7F3E
secondary
#AE589A
accent
#4FBAD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2B7F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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