#2B8E1C#2B8E1C

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

Color values

HEX#2B8E1C
RGBrgb(43, 142, 28)
HSLhsl(112, 67%, 33%)
HSVhsv(112, 80%, 56%)
CMYKcmyk(69.7%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.77, -49.36, 48.35)
CIE-LCHlch(51.77, 69.10, 135.59°)
OKLaboklab(56.81% -0.1348 0.1079)
OKLCHoklch(56.81% 0.173 141.3)
XYZxyz(10.8783, 19.9423, 4.3743)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8E1C #7F1C8E
analogous
#648E1C #2B8E1C #1C8E46
triadic
#2B8E1C #1C2B8E #8E1C2B
tetradic
#2B8E1C #1C648E #7F1C8E #8E461C
square
#2B8E1C #1C648E #7F1C8E #8E461C
split-complementary
#2B8E1C #461C8E #8E1C64
monochromatic
#0C2808 #1C5B12 #2B8E1C #3AC126 #5CDB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B8E1C#FFFFFF#000000##000000
##2B8E1C1.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: #2b8e1c;
/* rgb */ color: rgb(43, 142, 28);
/* oklch */ color: oklch(56.8% 0.173 141.3);
Tailwind
colors: {
  custom: {
    50: '#74b062',
    500: '#2b8e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b8e1c;
$custom-light: #74b062;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8e1c",
  "rgb": {
    "r": 43,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 112.105,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.17264,
    "h": 141.3
  },
  "luminance": 0.19943
}

Semantic roles & 50–950 ramp

primary
#2B8E1C
secondary
#AE49BD
accent
#3EEAD3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2B8E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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