#2B5D1E#2B5D1E

#2B5D1E is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.108 H 139.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5D1E
RGBrgb(43, 93, 30)
HSLhsl(108, 51%, 24%)
HSVhsv(108, 68%, 36%)
CMYKcmyk(53.8%, 0%, 67.7%, 63.5%)
CIE-LABlab(34.87, -30.15, 30.23)
CIE-LCHlch(34.87, 42.69, 134.92°)
OKLaboklab(42.85% -0.0827 0.0702)
OKLCHoklch(42.85% 0.108 139.7)
XYZxyz(5.1447, 8.4357, 2.5852)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D1E #501E5D
analogous
#4B5D1E #2B5D1E #1E5D31
triadic
#2B5D1E #1E2B5D #5D1E2B
tetradic
#2B5D1E #1E4B5D #501E5D #5D311E
square
#2B5D1E #1E4B5D #501E5D #5D311E
split-complementary
#2B5D1E #311E5D #5D1E4B
monochromatic
#0B1707 #162F0F #2B5D1E #408B2D #56BA3C

Accessibility & contrast

On white

7.81
#2B5D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B5D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5D1E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D1E#FFFFFF#000000##FFFFFF
##2B5D1E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605517
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#265A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d1e;
/* rgb */ color: rgb(43, 93, 30);
/* oklch */ color: oklch(42.8% 0.108 139.7);
Tailwind
colors: {
  custom: {
    50: '#6a8b5d',
    500: '#2b5d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d1e;
$custom-light: #6a8b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d1e",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 30
  },
  "hsl": {
    "h": 107.619,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.42846,
    "c": 0.10848,
    "h": 139.7
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#2B5D1E
secondary
#824592
accent
#4DDBBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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