#2B8631#2B8631

#2B8631 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.149 H 144.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2B8631
RGBrgb(43, 134, 49)
HSLhsl(124, 51%, 35%)
HSVhsv(124, 68%, 53%)
CMYKcmyk(67.9%, 0%, 63.4%, 47.5%)
CIE-LABlab(49.23, -44.55, 37.19)
CIE-LCHlch(49.23, 58.03, 140.14°)
OKLaboklab(54.75% -0.1207 0.0871)
OKLCHoklch(54.75% 0.149 144.2)
XYZxyz(10.0751, 17.7845, 5.8069)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8631 #862B80
analogous
#53862B #2B8631 #2B865F
triadic
#2B8631 #312B86 #86312B
tetradic
#2B8631 #2B5386 #862B80 #865F2B
square
#2B8631 #2B5386 #862B80 #865F2B
split-complementary
#2B8631 #5F2B86 #862B53
monochromatic
#0D290F #1C5820 #2B8631 #3AB442 #60CC67

Accessibility & contrast

On white

4.61
#2B8631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2B8631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8631
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8631#FFFFFF#000000##FFFFFF
##2B86311.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#7E7238
Tritanopia (blue-blind)
#138274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b8631;
/* rgb */ color: rgb(43, 134, 49);
/* oklch */ color: oklch(54.8% 0.149 144.2);
Tailwind
colors: {
  custom: {
    50: '#71aa6c',
    500: '#2b8631',
    950: '#000000',
  },
}
SCSS
$custom: #2b8631;
$custom-light: #71aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8631",
  "rgb": {
    "r": 43,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 123.956,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.14882,
    "h": 144.2
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#2B8631
secondary
#B25BAC
accent
#4DD2DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #2B8631

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

Preview Lab → · Contrast checker → · Palette generator →

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