#2B862E#2B862E

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

Color values

HEX#2B862E
RGBrgb(43, 134, 46)
HSLhsl(122, 51%, 35%)
HSVhsv(122, 68%, 53%)
CMYKcmyk(67.9%, 0%, 65.7%, 47.5%)
CIE-LABlab(49.20, -44.90, 38.56)
CIE-LCHlch(49.20, 59.18, 139.34°)
OKLaboklab(54.72% -0.1218 0.0897)
OKLCHoklch(54.72% 0.151 143.6)
XYZxyz(10.0139, 17.7600, 5.4845)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B862E #862B83
analogous
#56862B #2B862E #2B865C
triadic
#2B862E #2E2B86 #862E2B
tetradic
#2B862E #2B5686 #862B83 #865C2B
square
#2B862E #2B5686 #862B83 #865C2B
split-complementary
#2B862E #5C2B86 #862B56
monochromatic
#0D290E #1C581E #2B862E #3AB43E #60CC63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b862e;
/* rgb */ color: rgb(43, 134, 46);
/* oklch */ color: oklch(54.7% 0.151 143.6);
Tailwind
colors: {
  custom: {
    50: '#71aa6b',
    500: '#2b862e',
    950: '#000000',
  },
}
SCSS
$custom: #2b862e;
$custom-light: #71aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b862e",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 121.978,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5472,
    "c": 0.15124,
    "h": 143.6
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#2B862E
secondary
#B25BAF
accent
#4DD6DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B862E

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

Preview Lab → · Contrast checker → · Palette generator →

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