#2B8719#2B8719

#2B8719 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.166 H 140.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2B8719
RGBrgb(43, 135, 25)
HSLhsl(110, 69%, 31%)
HSVhsv(110, 81%, 53%)
CMYKcmyk(68.1%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.39, -47.10, 47.05)
CIE-LCHlch(49.39, 66.57, 135.04°)
OKLaboklab(54.82% -0.1289 0.1047)
OKLCHoklch(54.82% 0.166 140.9)
XYZxyz(9.8352, 17.9107, 3.8583)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8719 #751987
analogous
#628719 #2B8719 #19873E
triadic
#2B8719 #192B87 #87192B
tetradic
#2B8719 #196287 #751987 #873E19
square
#2B8719 #196287 #751987 #873E19
split-complementary
#2B8719 #3E1987 #871962
monochromatic
#0A2006 #1B530F #2B8719 #3BBB23 #59DB3F

Accessibility & contrast

On white

4.58
#2B8719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2B8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8719
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8719#FFFFFF#000000##000000
##2B87191.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#198273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8719;
/* rgb */ color: rgb(43, 135, 25);
/* oklch */ color: oklch(54.8% 0.166 140.9);
Tailwind
colors: {
  custom: {
    50: '#72ab60',
    500: '#2b8719',
    950: '#000000',
  },
}
SCSS
$custom: #2b8719;
$custom-light: #72ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8719",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 110.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.16603,
    "h": 140.9
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#2B8719
secondary
#A741BA
accent
#3CECCF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2B8719

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

Preview Lab → · Contrast checker → · Palette generator →

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