#2B8338#2B8338

#2B8338 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.139 H 145.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2B8338
RGBrgb(43, 131, 56)
HSLhsl(129, 51%, 34%)
HSVhsv(129, 67%, 51%)
CMYKcmyk(67.2%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.30, -42.49, 32.65)
CIE-LCHlch(48.30, 53.59, 142.45°)
OKLaboklab(54.01% -0.1148 0.0779)
OKLCHoklch(54.01% 0.139 145.9)
XYZxyz(9.8257, 17.0307, 6.5101)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8338 #832B76
analogous
#4A832B #2B8338 #2B8364
triadic
#2B8338 #382B83 #83382B
tetradic
#2B8338 #2B4A83 #832B76 #83642B
square
#2B8338 #2B4A83 #832B76 #83642B
split-complementary
#2B8338 #642B83 #832B4A
monochromatic
#0D2711 #1C5524 #2B8338 #3AB14C #5ECA6E

Accessibility & contrast

On white

4.77
#2B8338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2B8338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8338
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8338#FFFFFF#000000##FFFFFF
##2B83381.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857731
Deuteranopia (green-blind)
#7A703E
Tritanopia (blue-blind)
#128072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8338;
/* rgb */ color: rgb(43, 131, 56);
/* oklch */ color: oklch(54.0% 0.139 145.9);
Tailwind
colors: {
  custom: {
    50: '#70a871',
    500: '#2b8338',
    950: '#000000',
  },
}
SCSS
$custom: #2b8338;
$custom-light: #70a871;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8338",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 128.864,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54007,
    "c": 0.13873,
    "h": 145.9
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#2B8338
secondary
#B05AA3
accent
#4EC5DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2B8338

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

Preview Lab → · Contrast checker → · Palette generator →

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