#2B8151#2B8151

#2B8151 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.111 H 155.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B8151
RGBrgb(43, 129, 81)
HSLhsl(147, 50%, 34%)
HSVhsv(147, 67%, 51%)
CMYKcmyk(66.7%, 0%, 37.2%, 49.4%)
CIE-LABlab(48.02, -37.31, 18.71)
CIE-LCHlch(48.02, 41.74, 153.37°)
OKLaboklab(53.9% -0.1011 0.0469)
OKLCHoklch(53.9% 0.111 155.1)
XYZxyz(10.3308, 16.8071, 10.4826)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B8151 #812B5B
analogous
#30812B #2B8151 #2B817C
triadic
#2B8151 #512B81 #81512B
tetradic
#2B8151 #2B3081 #812B5B #817C2B
square
#2B8151 #2B3081 #812B5B #817C2B
split-complementary
#2B8151 #7C2B81 #812B30
monochromatic
#0C2517 #1C5334 #2B8151 #3AAF6E #5DC98D

Accessibility & contrast

On white

4.81
#2B8151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2B8151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B8151
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B8151#FFFFFF#000000##FFFFFF
##2B81511.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#756F54
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b8151;
/* rgb */ color: rgb(43, 129, 81);
/* oklch */ color: oklch(53.9% 0.111 155.1);
Tailwind
colors: {
  custom: {
    50: '#6fa682',
    500: '#2b8151',
    950: '#000000',
  },
}
SCSS
$custom: #2b8151;
$custom-light: #6fa682;
$custom-dark: #000000;
JSON
{
  "hex": "#2b8151",
  "rgb": {
    "r": 43,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 146.512,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.11147,
    "h": 155.1
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#2B8151
secondary
#AF5989
accent
#4E9CDA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B8151

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

Preview Lab → · Contrast checker → · Palette generator →

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