#2B511F#2B511F

#2B511F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.089 H 138.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2B511F
RGBrgb(43, 81, 31)
HSLhsl(106, 45%, 22%)
HSVhsv(106, 62%, 32%)
CMYKcmyk(46.9%, 0%, 61.7%, 68.2%)
CIE-LABlab(30.63, -24.44, 24.88)
CIE-LCHlch(30.63, 34.87, 134.48°)
OKLaboklab(39.37% -0.0671 0.0588)
OKLCHoklch(39.37% 0.089 138.8)
XYZxyz(4.1859, 6.4971, 2.3296)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B511F #451F51
analogous
#44511F #2B511F #1F512C
triadic
#2B511F #1F2B51 #511F2B
tetradic
#2B511F #1F4451 #451F51 #512C1F
square
#2B511F #1F4451 #451F51 #512C1F
split-complementary
#2B511F #2C1F51 #511F44
monochromatic
#0C1608 #14250E #2B511F #427D30 #5AAA41

Accessibility & contrast

On white

9.13
#2B511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2B511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B511F
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B511F#FFFFFF#000000##FFFFFF
##2B511F1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1A
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#284E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b511f;
/* rgb */ color: rgb(43, 81, 31);
/* oklch */ color: oklch(39.4% 0.089 138.8);
Tailwind
colors: {
  custom: {
    50: '#67825c',
    500: '#2b511f',
    950: '#000000',
  },
}
SCSS
$custom: #2b511f;
$custom-light: #67825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b511f",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 105.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39373,
    "c": 0.08924,
    "h": 138.8
  },
  "luminance": 0.06497
}

Semantic roles & 50–950 ramp

primary
#2B511F
secondary
#764686
accent
#53D4B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B511F

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

Preview Lab → · Contrast checker → · Palette generator →

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