#2B862D#2B862D

#2B862D is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.152 H 143.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2B862D
RGBrgb(43, 134, 45)
HSLhsl(121, 51%, 35%)
HSVhsv(121, 68%, 53%)
CMYKcmyk(67.9%, 0%, 66.4%, 47.5%)
CIE-LABlab(49.19, -45.01, 39.01)
CIE-LCHlch(49.19, 59.56, 139.09°)
OKLaboklab(54.71% -0.1221 0.0905)
OKLCHoklch(54.71% 0.152 143.5)
XYZxyz(9.9944, 17.7522, 5.3819)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B862D #862B84
analogous
#56862B #2B862D #2B865B
triadic
#2B862D #2D2B86 #862D2B
tetradic
#2B862D #2B5686 #862B84 #865B2B
square
#2B862D #2B5686 #862B84 #865B2B
split-complementary
#2B862D #5B2B86 #862B56
monochromatic
#0D290E #1C581D #2B862D #3AB43D #60CC62

Accessibility & contrast

On white

4.61
#2B862D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2B862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B862D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B862D#FFFFFF#000000##FFFFFF
##2B862D1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897922
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#158273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b862d;
/* rgb */ color: rgb(43, 134, 45);
/* oklch */ color: oklch(54.7% 0.152 143.5);
Tailwind
colors: {
  custom: {
    50: '#71aa6a',
    500: '#2b862d',
    950: '#000000',
  },
}
SCSS
$custom: #2b862d;
$custom-light: #71aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b862d",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 121.319,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.15202,
    "h": 143.5
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#2B862D
secondary
#B25BB0
accent
#4DD8DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B862D

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

Preview Lab → · Contrast checker → · Palette generator →

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