#2B5331#2B5331

#2B5331 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.3% C 0.073 H 147.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5331
RGBrgb(43, 83, 49)
HSLhsl(129, 32%, 25%)
HSVhsv(129, 48%, 33%)
CMYKcmyk(48.2%, 0%, 41%, 67.5%)
CIE-LABlab(31.63, -22.51, 15.65)
CIE-LCHlch(31.63, 27.41, 145.19°)
OKLaboklab(40.28% -0.0612 0.039)
OKLCHoklch(40.28% 0.073 147.5)
XYZxyz(4.6436, 6.9215, 3.9964)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5331 #532B4D
analogous
#39532B #2B5331 #2B5345
triadic
#2B5331 #312B53 #53312B
tetradic
#2B5331 #2B3953 #532B4D #53452B
square
#2B5331 #2B3953 #532B4D #53452B
split-complementary
#2B5331 #452B53 #532B39
monochromatic
#0A140C #162B19 #2B5331 #407B49 #55A461

Accessibility & contrast

On white

8.81
#2B5331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B5331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5331
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5331#FFFFFF#000000##FFFFFF
##2B53311.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4E4933
Tritanopia (blue-blind)
#25514A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5331;
/* rgb */ color: rgb(43, 83, 49);
/* oklch */ color: oklch(40.3% 0.073 147.5);
Tailwind
colors: {
  custom: {
    50: '#678369',
    500: '#2b5331',
    950: '#000000',
  },
}
SCSS
$custom: #2b5331;
$custom-light: #678369;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5331",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 129,
    "s": 31.746,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40278,
    "c": 0.07257,
    "h": 147.5
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#2B5331
secondary
#85557E
accent
#60B8C8
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #2B5331

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

Preview Lab → · Contrast checker → · Palette generator →

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