#2B6830#2B6830

#2B6830 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.108 H 145.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2B6830
RGBrgb(43, 104, 48)
HSLhsl(125, 41%, 29%)
HSVhsv(125, 59%, 41%)
CMYKcmyk(58.7%, 0%, 53.8%, 59.2%)
CIE-LABlab(38.95, -32.58, 25.56)
CIE-LCHlch(38.95, 41.40, 141.89°)
OKLaboklab(46.26% -0.0883 0.0616)
OKLCHoklch(46.26% 0.108 145.1)
XYZxyz(6.4797, 10.6271, 4.5055)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6830 #682B63
analogous
#45682B #2B6830 #2B684F
triadic
#2B6830 #302B68 #68302B
tetradic
#2B6830 #2B4568 #682B63 #684F2B
square
#2B6830 #2B4568 #682B63 #684F2B
split-complementary
#2B6830 #4F2B68 #682B45
monochromatic
#09160A #193D1C #2B6830 #3D9344 #55B95D

Accessibility & contrast

On white

6.72
#2B6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2B6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6830
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6830#FFFFFF#000000##FFFFFF
##2B68301.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2B
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#20655B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b6830;
/* rgb */ color: rgb(43, 104, 48);
/* oklch */ color: oklch(46.3% 0.108 145.1);
Tailwind
colors: {
  custom: {
    50: '#6b9469',
    500: '#2b6830',
    950: '#000000',
  },
}
SCSS
$custom: #2b6830;
$custom-light: #6b9469;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6830",
  "rgb": {
    "r": 43,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 124.918,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.10771,
    "h": 145.1
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#2B6830
secondary
#9A5594
accent
#56C7D1
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2B6830

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

Preview Lab → · Contrast checker → · Palette generator →

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