#2B7D1C#2B7D1C

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

Color values

HEX#2B7D1C
RGBrgb(43, 125, 28)
HSLhsl(111, 63%, 30%)
HSVhsv(111, 78%, 49%)
CMYKcmyk(65.6%, 0%, 77.6%, 51%)
CIE-LABlab(45.99, -43.27, 42.73)
CIE-LCHlch(45.99, 60.81, 135.37°)
OKLaboklab(52.02% -0.1184 0.0961)
OKLCHoklch(52.02% 0.153 140.9)
XYZxyz(8.5391, 15.2638, 3.5946)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D1C #6E1C7D
analogous
#5B7D1C #2B7D1C #1C7D3E
triadic
#2B7D1C #1C2B7D #7D1C2B
tetradic
#2B7D1C #1C5B7D #6E1C7D #7D3E1C
square
#2B7D1C #1C5B7D #6E1C7D #7D3E1C
split-complementary
#2B7D1C #3E1C7D #7D1C5B
monochromatic
#091906 #1A4B11 #2B7D1C #3CAF27 #56D43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7D1C#FFFFFF#000000##FFFFFF
##2B7D1C1.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)
#807107
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#1D796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d1c;
/* rgb */ color: rgb(43, 125, 28);
/* oklch */ color: oklch(52.0% 0.152 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a360',
    500: '#2b7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d1c;
$custom-light: #70a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d1c",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 110.722,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.1525,
    "h": 140.9
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

primary
#2B7D1C
secondary
#A044B1
accent
#41E6CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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