#2B8334#2B8334

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

Color values

HEX#2B8334
RGBrgb(43, 131, 52)
HSLhsl(126, 51%, 34%)
HSVhsv(126, 67%, 51%)
CMYKcmyk(67.2%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.25, -43.03, 34.61)
CIE-LCHlch(48.25, 55.22, 141.19°)
OKLaboklab(53.95% -0.1164 0.0818)
OKLCHoklch(53.95% 0.142 144.9)
XYZxyz(9.7318, 16.9931, 6.0153)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8334 #832B7A
analogous
#4E832B #2B8334 #2B8360
triadic
#2B8334 #342B83 #83342B
tetradic
#2B8334 #2B4E83 #832B7A #83602B
square
#2B8334 #2B4E83 #832B7A #83602B
split-complementary
#2B8334 #602B83 #832B4E
monochromatic
#0D270F #1C5522 #2B8334 #3AB146 #5ECA69

Accessibility & contrast

On white

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

On black

4.40
#2B8334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B8334#FFFFFF#000000##FFFFFF
##2B83341.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772C
Deuteranopia (green-blind)
#7B703A
Tritanopia (blue-blind)
#148072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b8334;
/* rgb */ color: rgb(43, 131, 52);
/* oklch */ color: oklch(54.0% 0.142 144.9);
Tailwind
colors: {
  custom: {
    50: '#70a86e',
    500: '#2b8334',
    950: '#000000',
  },
}
SCSS
$custom: #2b8334;
$custom-light: #70a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8334",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 126.136,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.1423,
    "h": 144.9
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#2B8334
secondary
#B05AA7
accent
#4ECCDA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8334

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

Preview Lab → · Contrast checker → · Palette generator →

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