#2B5B15#2B5B15

#2B5B15 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.113 H 137.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2B5B15
RGBrgb(43, 91, 21)
HSLhsl(101, 63%, 22%)
HSVhsv(101, 77%, 36%)
CMYKcmyk(52.7%, 0%, 76.9%, 64.3%)
CIE-LABlab(34.09, -30.15, 33.53)
CIE-LCHlch(34.09, 45.09, 131.96°)
OKLaboklab(42.17% -0.0834 0.0759)
OKLCHoklch(42.17% 0.113 137.7)
XYZxyz(4.8725, 8.0496, 2.0063)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B15 #45155B
analogous
#4E5B15 #2B5B15 #155B22
triadic
#2B5B15 #152B5B #5B152B
tetradic
#2B5B15 #154E5B #45155B #5B2215
square
#2B5B15 #154E5B #45155B #5B2215
split-complementary
#2B5B15 #22155B #5B154E
monochromatic
#0C1906 #14290A #2B5B15 #428D20 #5ABE2C

Accessibility & contrast

On white

8.05
#2B5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5B15
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B15#FFFFFF#000000##FFFFFF
##2B5B151.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5309
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#28584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b15;
/* rgb */ color: rgb(43, 91, 21);
/* oklch */ color: oklch(42.2% 0.113 137.7);
Tailwind
colors: {
  custom: {
    50: '#6a8a57',
    500: '#2b5b15',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b15;
$custom-light: #6a8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b15",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 101.143,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42173,
    "c": 0.11274,
    "h": 137.7
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#2B5B15
secondary
#763992
accent
#42E6B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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