#2B5939#2B5939

#2B5939 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.2% C 0.074 H 151.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2B5939
RGBrgb(43, 89, 57)
HSLhsl(138, 35%, 26%)
HSVhsv(138, 52%, 35%)
CMYKcmyk(51.7%, 0%, 36%, 65.1%)
CIE-LABlab(33.89, -23.92, 13.80)
CIE-LCHlch(33.89, 27.61, 150.03°)
OKLaboklab(42.17% -0.0651 0.0347)
OKLCHoklch(42.17% 0.074 151.9)
XYZxyz(5.3068, 7.9534, 5.1256)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5939 #592B4B
analogous
#34592B #2B5939 #2B5950
triadic
#2B5939 #392B59 #59392B
tetradic
#2B5939 #2B3459 #592B4B #59502B
square
#2B5939 #2B3459 #592B4B #59502B
split-complementary
#2B5939 #502B59 #592B34
monochromatic
#0A150D #17301F #2B5939 #3F8253 #53AC6E

Accessibility & contrast

On white

8.11
#2B5939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B5939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5939
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5939#FFFFFF#000000##FFFFFF
##2B59391.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595237
Deuteranopia (green-blind)
#534E3B
Tritanopia (blue-blind)
#215851
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5939;
/* rgb */ color: rgb(43, 89, 57);
/* oklch */ color: oklch(42.2% 0.074 151.9);
Tailwind
colors: {
  custom: {
    50: '#68886f',
    500: '#2b5939',
    950: '#000000',
  },
}
SCSS
$custom: #2b5939;
$custom-light: #68886f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5939",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 57
  },
  "hsl": {
    "h": 138.261,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.07382,
    "h": 151.9
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#2B5939
secondary
#8B557B
accent
#5DA9CB
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #2B5939

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

Preview Lab → · Contrast checker → · Palette generator →

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