#2B7F2D#2B7F2D

#2B7F2D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.143 H 143.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2B7F2D
RGBrgb(43, 127, 45)
HSLhsl(121, 49%, 33%)
HSVhsv(121, 66%, 50%)
CMYKcmyk(66.1%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.82, -42.37, 36.35)
CIE-LCHlch(46.82, 55.83, 139.37°)
OKLaboklab(52.74% -0.115 0.0849)
OKLCHoklch(52.74% 0.143 143.6)
XYZxyz(9.0588, 15.8809, 5.0700)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F2D #7F2B7D
analogous
#537F2B #2B7F2D #2B7F57
triadic
#2B7F2D #2D2B7F #7F2D2B
tetradic
#2B7F2D #2B537F #7F2B7D #7F572B
square
#2B7F2D #2B537F #7F2B7D #7F572B
split-complementary
#2B7F2D #572B7F #7F2B53
monochromatic
#0C240D #1C511D #2B7F2D #3AAD3D #5CC85F

Accessibility & contrast

On white

5.03
#2B7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2B7F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F2D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F2D#FFFFFF#000000##FFFFFF
##2B7F2D1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#187B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f2d;
/* rgb */ color: rgb(43, 127, 45);
/* oklch */ color: oklch(52.7% 0.143 143.6);
Tailwind
colors: {
  custom: {
    50: '#70a569',
    500: '#2b7f2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f2d;
$custom-light: #70a569;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f2d",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 121.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.14293,
    "h": 143.6
  },
  "luminance": 0.15882
}

Semantic roles & 50–950 ramp

primary
#2B7F2D
secondary
#AE58AC
accent
#4FD6D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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