#2B812E#2B812E

#2B812E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.145 H 143.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2B812E
RGBrgb(43, 129, 46)
HSLhsl(122, 50%, 34%)
HSVhsv(122, 67%, 51%)
CMYKcmyk(66.7%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.51, -43.02, 36.66)
CIE-LCHlch(47.51, 56.52, 139.56°)
OKLaboklab(53.32% -0.1167 0.0856)
OKLCHoklch(53.32% 0.145 143.7)
XYZxyz(9.3391, 16.4104, 5.2596)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B812E #812B7E
analogous
#53812B #2B812E #2B8159
triadic
#2B812E #2E2B81 #812E2B
tetradic
#2B812E #2B5381 #812B7E #81592B
square
#2B812E #2B5381 #812B7E #81592B
split-complementary
#2B812E #592B81 #812B53
monochromatic
#0C250D #1C531E #2B812E #3AAF3E #5DC961

Accessibility & contrast

On white

4.90
#2B812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2B812E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B812E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B812E#FFFFFF#000000##FFFFFF
##2B812E1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#177D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b812e;
/* rgb */ color: rgb(43, 129, 46);
/* oklch */ color: oklch(53.3% 0.145 143.7);
Tailwind
colors: {
  custom: {
    50: '#70a66a',
    500: '#2b812e',
    950: '#000000',
  },
}
SCSS
$custom: #2b812e;
$custom-light: #70a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b812e",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 122.093,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.14474,
    "h": 143.7
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#2B812E
secondary
#AF59AC
accent
#4ED5DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B812E

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

Preview Lab → · Contrast checker → · Palette generator →

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