#2B8330#2B8330

#2B8330 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.146 H 144.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B8330
RGBrgb(43, 131, 48)
HSLhsl(123, 51%, 34%)
HSVhsv(123, 67%, 51%)
CMYKcmyk(67.2%, 0%, 63.4%, 48.6%)
CIE-LABlab(48.21, -43.54, 36.50)
CIE-LCHlch(48.21, 56.81, 140.03°)
OKLaboklab(53.9% -0.118 0.0855)
OKLCHoklch(53.9% 0.146 144.1)
XYZxyz(9.6455, 16.9586, 5.5608)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8330 #832B7E
analogous
#52832B #2B8330 #2B835C
triadic
#2B8330 #302B83 #83302B
tetradic
#2B8330 #2B5283 #832B7E #835C2B
square
#2B8330 #2B5283 #832B7E #835C2B
split-complementary
#2B8330 #5C2B83 #832B52
monochromatic
#0D270E #1C551F #2B8330 #3AB141 #5ECA64

Accessibility & contrast

On white

4.78
#2B8330 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2B8330 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8330
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8330#FFFFFF#000000##FFFFFF
##2B83301.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867727
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#157F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8330;
/* rgb */ color: rgb(43, 131, 48);
/* oklch */ color: oklch(53.9% 0.146 144.1);
Tailwind
colors: {
  custom: {
    50: '#70a86c',
    500: '#2b8330',
    950: '#000000',
  },
}
SCSS
$custom: #2b8330;
$custom-light: #70a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8330",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 48
  },
  "hsl": {
    "h": 123.409,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53902,
    "c": 0.14571,
    "h": 144.1
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#2B8330
secondary
#B05AAB
accent
#4ED2DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8330

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

Preview Lab → · Contrast checker → · Palette generator →

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