#2B511E#2B511E

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

Color values

HEX#2B511E
RGBrgb(43, 81, 30)
HSLhsl(105, 46%, 22%)
HSVhsv(105, 63%, 32%)
CMYKcmyk(46.9%, 0%, 63%, 68.2%)
CIE-LABlab(30.62, -24.56, 25.41)
CIE-LCHlch(30.62, 35.34, 134.03°)
OKLaboklab(39.36% -0.0675 0.0599)
OKLCHoklch(39.36% 0.09 138.5)
XYZxyz(4.1729, 6.4919, 2.2612)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B511E #441E51
analogous
#45511E #2B511E #1E512B
triadic
#2B511E #1E2B51 #511E2B
tetradic
#2B511E #1E4551 #441E51 #512B1E
square
#2B511E #1E4551 #441E51 #512B1E
split-complementary
#2B511E #2B1E51 #511E45
monochromatic
#0C1608 #13240D #2B511E #437E2F #5AAA3F

Accessibility & contrast

On white

9.14
#2B511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B511E
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B511E#FFFFFF#000000##FFFFFF
##2B511E1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A19
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#294E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b511e;
/* rgb */ color: rgb(43, 81, 30);
/* oklch */ color: oklch(39.4% 0.090 138.5);
Tailwind
colors: {
  custom: {
    50: '#68825c',
    500: '#2b511e',
    950: '#000000',
  },
}
SCSS
$custom: #2b511e;
$custom-light: #68825c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b511e",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 104.706,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39359,
    "c": 0.09025,
    "h": 138.5
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#2B511E
secondary
#754586
accent
#52D6B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2B511E

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

Preview Lab → · Contrast checker → · Palette generator →

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