#2B862F#2B862F

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

Color values

HEX#2B862F
RGBrgb(43, 134, 47)
HSLhsl(123, 51%, 35%)
HSVhsv(123, 68%, 53%)
CMYKcmyk(67.9%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.21, -44.78, 38.11)
CIE-LCHlch(49.21, 58.80, 139.61°)
OKLaboklab(54.73% -0.1214 0.0888)
OKLCHoklch(54.73% 0.15 143.8)
XYZxyz(10.0338, 17.7680, 5.5896)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B862F #862B82
analogous
#55862B #2B862F #2B865C
triadic
#2B862F #2F2B86 #862F2B
tetradic
#2B862F #2B5586 #862B82 #865C2B
square
#2B862F #2B5586 #862B82 #865C2B
split-complementary
#2B862F #5C2B86 #862B55
monochromatic
#0D290E #1C581F #2B862F #3AB43F #60CC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B862F#FFFFFF#000000##FFFFFF
##2B862F1.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)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#148274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b862f;
/* rgb */ color: rgb(43, 134, 47);
/* oklch */ color: oklch(54.7% 0.150 143.8);
Tailwind
colors: {
  custom: {
    50: '#71aa6b',
    500: '#2b862f',
    950: '#000000',
  },
}
SCSS
$custom: #2b862f;
$custom-light: #71aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b862f",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 122.637,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.15044,
    "h": 143.8
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#2B862F
secondary
#B25BAE
accent
#4DD5DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B862F

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

Preview Lab → · Contrast checker → · Palette generator →

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