#2B5E15#2B5E15

#2B5E15 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.117 H 138.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B5E15
RGBrgb(43, 94, 21)
HSLhsl(102, 63%, 23%)
HSVhsv(102, 78%, 37%)
CMYKcmyk(54.3%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.15, -31.46, 34.61)
CIE-LCHlch(35.15, 46.77, 132.27°)
OKLaboklab(43.05% -0.0869 0.0781)
OKLCHoklch(43.05% 0.117 138.1)
XYZxyz(5.1341, 8.5728, 2.0935)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E15 #48155E
analogous
#4F5E15 #2B5E15 #155E24
triadic
#2B5E15 #152B5E #5E152B
tetradic
#2B5E15 #154F5E #48155E #5E2415
square
#2B5E15 #154F5E #48155E #5E2415
split-complementary
#2B5E15 #24155E #5E154F
monochromatic
#0B1906 #142C0A #2B5E15 #429020 #59C22B

Accessibility & contrast

On white

7.74
#2B5E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B5E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E15
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E15#FFFFFF#000000##FFFFFF
##2B5E151.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#275A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e15;
/* rgb */ color: rgb(43, 94, 21);
/* oklch */ color: oklch(43.0% 0.117 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8c58',
    500: '#2b5e15',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e15;
$custom-light: #6a8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e15",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 101.918,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.11689,
    "h": 138.1
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#2B5E15
secondary
#7A3995
accent
#41E7B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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