#2B5915#2B5915

#2B5915 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.110 H 137.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B5915
RGBrgb(43, 89, 21)
HSLhsl(101, 62%, 22%)
HSVhsv(101, 76%, 35%)
CMYKcmyk(51.7%, 0%, 76.4%, 65.1%)
CIE-LABlab(33.38, -29.26, 32.80)
CIE-LCHlch(33.38, 43.95, 131.73°)
OKLaboklab(41.59% -0.081 0.0744)
OKLCHoklch(41.59% 0.11 137.4)
XYZxyz(4.7038, 7.7122, 1.9501)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5915 #431559
analogous
#4D5915 #2B5915 #155921
triadic
#2B5915 #152B59 #59152B
tetradic
#2B5915 #154D59 #431559 #592115
square
#2B5915 #154D59 #431559 #592115
split-complementary
#2B5915 #211559 #59154D
monochromatic
#0C1906 #132709 #2B5915 #438B21 #5BBC2C

Accessibility & contrast

On white

8.26
#2B5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5915
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5915#FFFFFF#000000##FFFFFF
##2B59151.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5915;
/* rgb */ color: rgb(43, 89, 21);
/* oklch */ color: oklch(41.6% 0.110 137.4);
Tailwind
colors: {
  custom: {
    50: '#698857',
    500: '#2b5915',
    950: '#000000',
  },
}
SCSS
$custom: #2b5915;
$custom-light: #698857;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5915",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 100.588,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.10995,
    "h": 137.4
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#2B5915
secondary
#743991
accent
#43E5B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5915

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

Preview Lab → · Contrast checker → · Palette generator →

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