#2B5D15#2B5D15

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

Color values

HEX#2B5D15
RGBrgb(43, 93, 21)
HSLhsl(102, 63%, 22%)
HSVhsv(102, 77%, 36%)
CMYKcmyk(53.8%, 0%, 77.4%, 63.5%)
CIE-LABlab(34.79, -31.02, 34.25)
CIE-LCHlch(34.79, 46.21, 132.17°)
OKLaboklab(42.76% -0.0858 0.0774)
OKLCHoklch(42.76% 0.116 137.9)
XYZxyz(5.0458, 8.3961, 2.0640)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D15 #47155D
analogous
#4F5D15 #2B5D15 #155D23
triadic
#2B5D15 #152B5D #5D152B
tetradic
#2B5D15 #154F5D #47155D #5D2315
square
#2B5D15 #154F5D #47155D #5D2315
split-complementary
#2B5D15 #23155D #5D154F
monochromatic
#0C1906 #142B0A #2B5D15 #428F20 #59C12C

Accessibility & contrast

On white

7.84
#2B5D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B5D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5D15
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D15#FFFFFF#000000##FFFFFF
##2B5D151.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605408
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#275A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d15;
/* rgb */ color: rgb(43, 93, 21);
/* oklch */ color: oklch(42.8% 0.116 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a8b58',
    500: '#2b5d15',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d15;
$custom-light: #6a8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d15",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 101.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.11552,
    "h": 137.9
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#2B5D15
secondary
#793994
accent
#42E6B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5D15

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

Preview Lab → · Contrast checker → · Palette generator →

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