#2B834F#2B834F

#2B834F is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.4% C 0.116 H 153.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2B834F
RGBrgb(43, 131, 79)
HSLhsl(145, 51%, 34%)
HSVhsv(145, 67%, 51%)
CMYKcmyk(67.2%, 0%, 39.7%, 48.6%)
CIE-LABlab(48.65, -38.57, 20.68)
CIE-LCHlch(48.65, 43.76, 151.80°)
OKLaboklab(54.41% -0.1043 0.0516)
OKLCHoklch(54.41% 0.116 153.7)
XYZxyz(10.5229, 17.3096, 10.1821)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B834F #832B5F
analogous
#33832B #2B834F #2B837B
triadic
#2B834F #4F2B83 #834F2B
tetradic
#2B834F #2B3383 #832B5F #837B2B
square
#2B834F #2B3383 #832B5F #837B2B
split-complementary
#2B834F #7B2B83 #832B33
monochromatic
#0D2717 #1C5533 #2B834F #3AB16B #5ECA8A

Accessibility & contrast

On white

4.71
#2B834F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2B834F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B834F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B834F#FFFFFF#000000##FFFFFF
##2B834F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83784B
Deuteranopia (green-blind)
#787052
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b834f;
/* rgb */ color: rgb(43, 131, 79);
/* oklch */ color: oklch(54.4% 0.116 153.7);
Tailwind
colors: {
  custom: {
    50: '#6fa881',
    500: '#2b834f',
    950: '#000000',
  },
}
SCSS
$custom: #2b834f;
$custom-light: #6fa881;
$custom-dark: #000000;
JSON
{
  "hex": "#2b834f",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 79
  },
  "hsl": {
    "h": 144.545,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54408,
    "c": 0.11636,
    "h": 153.7
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#2B834F
secondary
#B05A8D
accent
#4EA1DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B834F

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

Preview Lab → · Contrast checker → · Palette generator →

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