#2B8E1B#2B8E1B

#2B8E1B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.173 H 141.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2B8E1B
RGBrgb(43, 142, 27)
HSLhsl(112, 68%, 33%)
HSVhsv(112, 81%, 56%)
CMYKcmyk(69.7%, 0%, 81%, 44.3%)
CIE-LABlab(51.77, -49.42, 48.67)
CIE-LCHlch(51.77, 69.36, 135.44°)
OKLaboklab(56.8% -0.135 0.1084)
OKLCHoklch(56.8% 0.173 141.2)
XYZxyz(10.8665, 19.9376, 4.3124)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E1B #7E1B8E
analogous
#648E1B #2B8E1B #1B8E44
triadic
#2B8E1B #1B2B8E #8E1B2B
tetradic
#2B8E1B #1B648E #7E1B8E #8E441B
square
#2B8E1B #1B648E #7E1B8E #8E441B
split-complementary
#2B8E1B #441B8E #8E1B64
monochromatic
#0C2707 #1B5B11 #2B8E1B #3BC125 #5CDC47

Accessibility & contrast

On white

4.21
#2B8E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2B8E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8E1B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8E1B#FFFFFF#000000##000000
##2B8E1B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#158979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8e1b;
/* rgb */ color: rgb(43, 142, 27);
/* oklch */ color: oklch(56.8% 0.173 141.2);
Tailwind
colors: {
  custom: {
    50: '#74b062',
    500: '#2b8e1b',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e1b;
$custom-light: #74b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e1b",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 111.652,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.17314,
    "h": 141.2
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#2B8E1B
secondary
#AD47BE
accent
#3DEBD3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #2B8E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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