#2B5934#2B5934

#2B5934 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.1% C 0.079 H 148.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2B5934
RGBrgb(43, 89, 52)
HSLhsl(132, 35%, 26%)
HSVhsv(132, 52%, 35%)
CMYKcmyk(51.7%, 0%, 41.6%, 65.1%)
CIE-LABlab(33.79, -24.93, 16.69)
CIE-LCHlch(33.79, 30.00, 146.20°)
OKLaboklab(42.06% -0.0677 0.0415)
OKLCHoklch(42.06% 0.079 148.5)
XYZxyz(5.1882, 7.9059, 4.5007)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5934 #592B50
analogous
#39592B #2B5934 #2B594B
triadic
#2B5934 #342B59 #59342B
tetradic
#2B5934 #2B3959 #592B50 #594B2B
square
#2B5934 #2B3959 #592B50 #594B2B
split-complementary
#2B5934 #4B2B59 #592B39
monochromatic
#0A150C #17301C #2B5934 #3F824C #53AC64

Accessibility & contrast

On white

8.14
#2B5934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B5934 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5934
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5934#FFFFFF#000000##FFFFFF
##2B59341.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5231
Deuteranopia (green-blind)
#534E36
Tritanopia (blue-blind)
#235750
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5934;
/* rgb */ color: rgb(43, 89, 52);
/* oklch */ color: oklch(42.1% 0.079 148.5);
Tailwind
colors: {
  custom: {
    50: '#68886c',
    500: '#2b5934',
    950: '#000000',
  },
}
SCSS
$custom: #2b5934;
$custom-light: #68886c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5934",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 52
  },
  "hsl": {
    "h": 131.739,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42058,
    "c": 0.07943,
    "h": 148.5
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#2B5934
secondary
#8B5581
accent
#5DB5CB
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #2B5934

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

Preview Lab → · Contrast checker → · Palette generator →

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