#2B8227#2B8227

#2B8227 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.151 H 142.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B8227
RGBrgb(43, 130, 39)
HSLhsl(117, 54%, 33%)
HSVhsv(117, 70%, 51%)
CMYKcmyk(66.9%, 0%, 70%, 49%)
CIE-LABlab(47.78, -44.16, 40.14)
CIE-LCHlch(47.78, 59.67, 137.73°)
OKLaboklab(53.52% -0.1201 0.0922)
OKLCHoklch(53.52% 0.151 142.5)
XYZxyz(9.3446, 16.6244, 4.6354)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8227 #7E2782
analogous
#588227 #2B8227 #278250
triadic
#2B8227 #272B82 #82272B
tetradic
#2B8227 #275882 #7E2782 #825027
square
#2B8227 #275882 #7E2782 #825027
split-complementary
#2B8227 #502782 #822758
monochromatic
#0C240B #1B5319 #2B8227 #3BB135 #5CCD57

Accessibility & contrast

On white

4.86
#2B8227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B8227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8227
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8227#FFFFFF#000000##FFFFFF
##2B82271.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#197E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b8227;
/* rgb */ color: rgb(43, 130, 39);
/* oklch */ color: oklch(53.5% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#71a766',
    500: '#2b8227',
    950: '#000000',
  },
}
SCSS
$custom: #2b8227;
$custom-light: #71a766;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8227",
  "rgb": {
    "r": 43,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 117.363,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.15145,
    "h": 142.5
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#2B8227
secondary
#AD53B1
accent
#4BDDD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B8227

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

Preview Lab → · Contrast checker → · Palette generator →

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