#2B8B1C#2B8B1C

#2B8B1C is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.169 H 141.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B8B1C
RGBrgb(43, 139, 28)
HSLhsl(112, 66%, 33%)
HSVhsv(112, 80%, 55%)
CMYKcmyk(69.1%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.76, -48.32, 47.38)
CIE-LCHlch(50.76, 67.67, 135.56°)
OKLaboklab(55.97% -0.132 0.1058)
OKLCHoklch(55.97% 0.169 141.3)
XYZxyz(10.4379, 19.0616, 4.2276)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8B1C #7C1C8B
analogous
#628B1C #2B8B1C #1C8B45
triadic
#2B8B1C #1C2B8B #8B1C2B
tetradic
#2B8B1C #1C628B #7C1C8B #8B451C
square
#2B8B1C #1C628B #7C1C8B #8B451C
split-complementary
#2B8B1C #451C8B #8B1C62
monochromatic
#0B2507 #1B5812 #2B8B1C #3BBE26 #5BDA47

Accessibility & contrast

On white

4.36
#2B8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2B8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8B1C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8B1C#FFFFFF#000000##000000
##2B8B1C1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#178676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b8b1c;
/* rgb */ color: rgb(43, 139, 28);
/* oklch */ color: oklch(56.0% 0.169 141.3);
Tailwind
colors: {
  custom: {
    50: '#73ae62',
    500: '#2b8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #2b8b1c;
$custom-light: #73ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8b1c",
  "rgb": {
    "r": 43,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 111.892,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55965,
    "c": 0.16918,
    "h": 141.3
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#2B8B1C
secondary
#AC47BC
accent
#3EE9D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2B8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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