#2B891F#2B891F

#2B891F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.165 H 141.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B891F
RGBrgb(43, 137, 31)
HSLhsl(113, 63%, 33%)
HSVhsv(113, 77%, 54%)
CMYKcmyk(68.6%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.10, -47.40, 45.70)
CIE-LCHlch(50.10, 65.84, 136.05°)
OKLaboklab(55.42% -0.1293 0.1028)
OKLCHoklch(55.42% 0.165 141.5)
XYZxyz(10.1887, 18.5028, 4.3305)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B891F #7D1F89
analogous
#60891F #2B891F #1F8948
triadic
#2B891F #1F2B89 #891F2B
tetradic
#2B891F #1F6089 #7D1F89 #89481F
square
#2B891F #1F6089 #7D1F89 #89481F
split-complementary
#2B891F #481F89 #891F60
monochromatic
#0C2508 #1B5714 #2B891F #3BBB2A #5CD64C

Accessibility & contrast

On white

4.47
#2B891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2B891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B891F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B891F#FFFFFF#000000##000000
##2B891F1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C08
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#178575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b891f;
/* rgb */ color: rgb(43, 137, 31);
/* oklch */ color: oklch(55.4% 0.165 141.5);
Tailwind
colors: {
  custom: {
    50: '#72ac63',
    500: '#2b891f',
    950: '#000000',
  },
}
SCSS
$custom: #2b891f;
$custom-light: #72ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2b891f",
  "rgb": {
    "r": 43,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 113.208,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.16519,
    "h": 141.5
  },
  "luminance": 0.18504
}

Semantic roles & 50–950 ramp

primary
#2B891F
secondary
#AD4BB9
accent
#42E6D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2B891F

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

Preview Lab → · Contrast checker → · Palette generator →

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