#2B7D2B#2B7D2B

#2B7D2B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.142 H 143.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2B7D2B
RGBrgb(43, 125, 43)
HSLhsl(120, 49%, 33%)
HSVhsv(120, 66%, 49%)
CMYKcmyk(65.6%, 0%, 65.6%, 51%)
CIE-LABlab(46.12, -41.84, 36.51)
CIE-LCHlch(46.12, 55.53, 138.89°)
OKLaboklab(52.16% -0.1136 0.085)
OKLCHoklch(52.16% 0.142 143.2)
XYZxyz(8.7654, 15.3544, 4.7868)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D2B #7D2B7D
analogous
#547D2B #2B7D2B #2B7D54
triadic
#2B7D2B #2B2B7D #7D2B2B
tetradic
#2B7D2B #2B547D #7D2B7D #7D542B
square
#2B7D2B #2B547D #7D2B7D #7D542B
split-complementary
#2B7D2B #542B7D #7D2B54
monochromatic
#0C220C #1B4F1B #2B7D2B #3BAB3B #5CC75C

Accessibility & contrast

On white

5.16
#2B7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2B7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D2B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D2B#FFFFFF#000000##FFFFFF
##2B7D2B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807121
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#1A796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d2b;
/* rgb */ color: rgb(43, 125, 43);
/* oklch */ color: oklch(52.2% 0.142 143.2);
Tailwind
colors: {
  custom: {
    50: '#6fa368',
    500: '#2b7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d2b;
$custom-light: #6fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d2b",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.14191,
    "h": 143.2
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#2B7D2B
secondary
#AD57AD
accent
#4FD8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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