#2B5930#2B5930

#2B5930 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.084 H 146.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2B5930
RGBrgb(43, 89, 48)
HSLhsl(127, 35%, 26%)
HSVhsv(127, 52%, 35%)
CMYKcmyk(51.7%, 0%, 46.1%, 65.1%)
CIE-LABlab(33.71, -25.67, 18.97)
CIE-LCHlch(33.71, 31.92, 143.53°)
OKLaboklab(41.98% -0.0697 0.0467)
OKLCHoklch(41.98% 0.084 146.2)
XYZxyz(5.1019, 7.8714, 4.0462)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5930 #592B54
analogous
#3D592B #2B5930 #2B5947
triadic
#2B5930 #302B59 #59302B
tetradic
#2B5930 #2B3D59 #592B54 #59472B
square
#2B5930 #2B3D59 #592B54 #59472B
split-complementary
#2B5930 #472B59 #592B3D
monochromatic
#0A150B #17301A #2B5930 #3F8246 #53AC5D

Accessibility & contrast

On white

8.16
#2B5930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B5930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5930
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5930#FFFFFF#000000##FFFFFF
##2B59301.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522D
Deuteranopia (green-blind)
#544E33
Tritanopia (blue-blind)
#24574F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5930;
/* rgb */ color: rgb(43, 89, 48);
/* oklch */ color: oklch(42.0% 0.084 146.2);
Tailwind
colors: {
  custom: {
    50: '#688869',
    500: '#2b5930',
    950: '#000000',
  },
}
SCSS
$custom: #2b5930;
$custom-light: #688869;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5930",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 48
  },
  "hsl": {
    "h": 126.522,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.08392,
    "h": 146.2
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#2B5930
secondary
#8B5585
accent
#5DBFCB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2B5930

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

Preview Lab → · Contrast checker → · Palette generator →

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