#2B822F#2B822F

#2B822F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.145 H 143.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2B822F
RGBrgb(43, 130, 47)
HSLhsl(123, 50%, 34%)
HSVhsv(123, 67%, 51%)
CMYKcmyk(66.9%, 0%, 63.8%, 49%)
CIE-LABlab(47.86, -43.28, 36.58)
CIE-LCHlch(47.86, 56.67, 139.80°)
OKLaboklab(53.61% -0.1173 0.0856)
OKLCHoklch(53.61% 0.145 143.9)
XYZxyz(9.4914, 16.6831, 5.4087)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B822F #822B7E
analogous
#53822B #2B822F #2B825B
triadic
#2B822F #2F2B82 #822F2B
tetradic
#2B822F #2B5382 #822B7E #825B2B
square
#2B822F #2B5382 #822B7E #825B2B
split-complementary
#2B822F #5B2B82 #822B53
monochromatic
#0D260E #1C541E #2B822F #3AB040 #5ECA63

Accessibility & contrast

On white

4.84
#2B822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2B822F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B822F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B822F#FFFFFF#000000##FFFFFF
##2B822F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857626
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#167E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b822f;
/* rgb */ color: rgb(43, 130, 47);
/* oklch */ color: oklch(53.6% 0.145 143.9);
Tailwind
colors: {
  custom: {
    50: '#70a76b',
    500: '#2b822f',
    950: '#000000',
  },
}
SCSS
$custom: #2b822f;
$custom-light: #70a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b822f",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 122.759,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5361,
    "c": 0.14523,
    "h": 143.9
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#2B822F
secondary
#B059AC
accent
#4ED3DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B822F

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

Preview Lab → · Contrast checker → · Palette generator →

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