#2B8730#2B8730

#2B8730 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.151 H 144.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2B8730
RGBrgb(43, 135, 48)
HSLhsl(123, 52%, 35%)
HSVhsv(123, 68%, 53%)
CMYKcmyk(68.1%, 0%, 64.4%, 47.1%)
CIE-LABlab(49.56, -45.04, 38.03)
CIE-LCHlch(49.56, 58.95, 139.82°)
OKLaboklab(55.02% -0.1221 0.0888)
OKLCHoklch(55.02% 0.151 144)
XYZxyz(10.1931, 18.0539, 5.7433)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8730 #872B82
analogous
#54872B #2B8730 #2B875E
triadic
#2B8730 #302B87 #87302B
tetradic
#2B8730 #2B5487 #872B82 #875E2B
square
#2B8730 #2B5487 #872B82 #875E2B
split-complementary
#2B8730 #5E2B87 #872B54
monochromatic
#0D2A0F #1C591F #2B8730 #3AB541 #60CC66

Accessibility & contrast

On white

4.55
#2B8730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2B8730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B8730
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8730#FFFFFF#000000##000000
##2B87301.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A26
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#138375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2b8730;
/* rgb */ color: rgb(43, 135, 48);
/* oklch */ color: oklch(55.0% 0.151 144.0);
Tailwind
colors: {
  custom: {
    50: '#71ab6c',
    500: '#2b8730',
    950: '#000000',
  },
}
SCSS
$custom: #2b8730;
$custom-light: #71ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8730",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 48
  },
  "hsl": {
    "h": 123.261,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.15093,
    "h": 144
  },
  "luminance": 0.18055
}

Semantic roles & 50–950 ramp

primary
#2B8730
secondary
#B25BAE
accent
#4DD3DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2B8730

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

Preview Lab → · Contrast checker → · Palette generator →

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