#2B8D2F#2B8D2F

#2B8D2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.159 H 143.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2B8D2F
RGBrgb(43, 141, 47)
HSLhsl(122, 53%, 36%)
HSVhsv(122, 70%, 55%)
CMYKcmyk(69.5%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.57, -47.35, 40.73)
CIE-LCHlch(51.57, 62.46, 139.30°)
OKLaboklab(56.68% -0.1284 0.0944)
OKLCHoklch(56.68% 0.159 143.7)
XYZxyz(11.0335, 19.7674, 5.9228)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8D2F #8D2B89
analogous
#588D2B #2B8D2F #2B8D60
triadic
#2B8D2F #2F2B8D #8D2F2B
tetradic
#2B8D2F #2B588D #8D2B89 #8D602B
square
#2B8D2F #2B588D #8D2B89 #8D602B
split-complementary
#2B8D2F #602B8D #8D2B58
monochromatic
#0E2F10 #1D5E1F #2B8D2F #39BC3F #63CF67

Accessibility & contrast

On white

4.24
#2B8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2B8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8D2F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8D2F#FFFFFF#000000##000000
##2B8D2F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#0F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b8d2f;
/* rgb */ color: rgb(43, 141, 47);
/* oklch */ color: oklch(56.7% 0.159 143.7);
Tailwind
colors: {
  custom: {
    50: '#73af6c',
    500: '#2b8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b8d2f;
$custom-light: #73af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8d2f",
  "rgb": {
    "r": 43,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 122.449,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.15935,
    "h": 143.7
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

primary
#2B8D2F
secondary
#B65EB2
accent
#4BD7DD
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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