#2B7F2C#2B7F2C

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

Color values

HEX#2B7F2C
RGBrgb(43, 127, 44)
HSLhsl(121, 49%, 33%)
HSVhsv(121, 66%, 50%)
CMYKcmyk(66.1%, 0%, 65.4%, 50.2%)
CIE-LABlab(46.81, -42.49, 36.81)
CIE-LCHlch(46.81, 56.22, 139.10°)
OKLaboklab(52.73% -0.1153 0.0858)
OKLCHoklch(52.73% 0.144 143.4)
XYZxyz(9.0397, 15.8733, 4.9698)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F2C #7F2B7E
analogous
#547F2B #2B7F2C #2B7F56
triadic
#2B7F2C #2C2B7F #7F2C2B
tetradic
#2B7F2C #2B547F #7F2B7E #7F562B
square
#2B7F2C #2B547F #7F2B7E #7F562B
split-complementary
#2B7F2C #562B7F #7F2B54
monochromatic
#0C240C #1C511C #2B7F2C #3AAD3C #5CC85E

Accessibility & contrast

On white

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

On black

4.17
#2B7F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7F2C#FFFFFF#000000##FFFFFF
##2B7F2C1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827322
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#197B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f2c;
/* rgb */ color: rgb(43, 127, 44);
/* oklch */ color: oklch(52.7% 0.144 143.4);
Tailwind
colors: {
  custom: {
    50: '#70a569',
    500: '#2b7f2c',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f2c;
$custom-light: #70a569;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f2c",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 120.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.14374,
    "h": 143.4
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#2B7F2C
secondary
#AE58AD
accent
#4FD7D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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