#2B7D1B#2B7D1B

#2B7D1B is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.153 H 140.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2B7D1B
RGBrgb(43, 125, 27)
HSLhsl(110, 64%, 30%)
HSVhsv(110, 78%, 49%)
CMYKcmyk(65.6%, 0%, 78.4%, 51%)
CIE-LABlab(45.99, -43.35, 43.09)
CIE-LCHlch(45.99, 61.12, 135.18°)
OKLaboklab(52.01% -0.1186 0.0967)
OKLCHoklch(52.01% 0.153 140.8)
XYZxyz(8.5273, 15.2591, 3.5326)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D1B #6D1B7D
analogous
#5C7D1B #2B7D1B #1B7D3C
triadic
#2B7D1B #1B2B7D #7D1B2B
tetradic
#2B7D1B #1B5C7D #6D1B7D #7D3C1B
square
#2B7D1B #1B5C7D #6D1B7D #7D3C1B
split-complementary
#2B7D1B #3C1B7D #7D1B5C
monochromatic
#091905 #1A4B10 #2B7D1B #3CAF26 #56D53D

Accessibility & contrast

On white

5.18
#2B7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2B7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D1B
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D1B#FFFFFF#000000##FFFFFF
##2B7D1B1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#1D796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d1b;
/* rgb */ color: rgb(43, 125, 27);
/* oklch */ color: oklch(52.0% 0.153 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a35f',
    500: '#2b7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d1b;
$custom-light: #70a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d1b",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 110.204,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.15308,
    "h": 140.8
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#2B7D1B
secondary
#9F43B1
accent
#40E7CC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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