#2B834C#2B834C

#2B834C is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.3% C 0.119 H 152.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2B834C
RGBrgb(43, 131, 76)
HSLhsl(143, 51%, 34%)
HSVhsv(143, 67%, 51%)
CMYKcmyk(67.2%, 0%, 42%, 48.6%)
CIE-LABlab(48.59, -39.15, 22.29)
CIE-LCHlch(48.59, 45.05, 150.34°)
OKLaboklab(54.35% -0.1057 0.0553)
OKLCHoklch(54.35% 0.119 152.4)
XYZxyz(10.4162, 17.2669, 9.6200)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B834C #832B62
analogous
#36832B #2B834C #2B8378
triadic
#2B834C #4C2B83 #834C2B
tetradic
#2B834C #2B3683 #832B62 #83782B
square
#2B834C #2B3683 #832B62 #83782B
split-complementary
#2B834C #782B83 #832B36
monochromatic
#0D2717 #1C5531 #2B834C #3AB167 #5ECA87

Accessibility & contrast

On white

4.72
#2B834C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2B834C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B834C
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B834C#FFFFFF#000000##FFFFFF
##2B834C1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837848
Deuteranopia (green-blind)
#787050
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b834c;
/* rgb */ color: rgb(43, 131, 76);
/* oklch */ color: oklch(54.3% 0.119 152.4);
Tailwind
colors: {
  custom: {
    50: '#6fa87e',
    500: '#2b834c',
    950: '#000000',
  },
}
SCSS
$custom: #2b834c;
$custom-light: #6fa87e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b834c",
  "rgb": {
    "r": 43,
    "g": 131,
    "b": 76
  },
  "hsl": {
    "h": 142.5,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.11935,
    "h": 152.4
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#2B834C
secondary
#B05A90
accent
#4EA5DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2B834C

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

Preview Lab → · Contrast checker → · Palette generator →

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