#2E6015#2E6015

#2E6015 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.8% C 0.118 H 137.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2E6015
RGBrgb(46, 96, 21)
HSLhsl(100, 64%, 23%)
HSVhsv(100, 78%, 38%)
CMYKcmyk(52.1%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.98, -31.33, 35.49)
CIE-LCHlch(35.98, 47.34, 131.43°)
OKLaboklab(43.77% -0.0868 0.0799)
OKLCHoklch(43.77% 0.118 137.4)
XYZxyz(5.4448, 9.0003, 2.1597)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6015 #471560
analogous
#536015 #2E6015 #156021
triadic
#2E6015 #152E60 #60152E
tetradic
#2E6015 #155360 #471560 #602115
square
#2E6015 #155360 #471560 #602115
split-complementary
#2E6015 #211560 #601553
monochromatic
#0C1905 #162E0A #2E6015 #469220 #5EC42B

Accessibility & contrast

On white

7.50
#2E6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6015
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6015#FFFFFF#000000##FFFFFF
##2E60151.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635707
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#2B5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6015;
/* rgb */ color: rgb(46, 96, 21);
/* oklch */ color: oklch(43.8% 0.118 137.4);
Tailwind
colors: {
  custom: {
    50: '#6c8e58',
    500: '#2e6015',
    950: '#000000',
  },
}
SCSS
$custom: #2e6015;
$custom-light: #6c8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6015",
  "rgb": {
    "r": 46,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43771,
    "c": 0.118,
    "h": 137.4
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#2E6015
secondary
#783A97
accent
#41E7B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6015

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

Preview Lab → · Contrast checker → · Palette generator →

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