#2E6315#2E6315

#2E6315 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.122 H 137.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2E6315
RGBrgb(46, 99, 21)
HSLhsl(101, 65%, 24%)
HSVhsv(101, 79%, 39%)
CMYKcmyk(53.5%, 0%, 78.8%, 61.2%)
CIE-LABlab(37.04, -32.63, 36.54)
CIE-LCHlch(37.04, 48.99, 131.76°)
OKLaboklab(44.64% -0.0903 0.0821)
OKLCHoklch(44.64% 0.122 137.7)
XYZxyz(5.7237, 9.5582, 2.2526)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6315 #4A1563
analogous
#556315 #2E6315 #156323
triadic
#2E6315 #152E63 #63152E
tetradic
#2E6315 #155563 #4A1563 #632315
square
#2E6315 #155563 #4A1563 #632315
split-complementary
#2E6315 #231563 #631555
monochromatic
#0C1905 #17310A #2E6315 #459520 #5DC82A

Accessibility & contrast

On white

7.21
#2E6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E6315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6315
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6315#FFFFFF#000000##FFFFFF
##2E63151.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#60551D
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6315;
/* rgb */ color: rgb(46, 99, 21);
/* oklch */ color: oklch(44.6% 0.122 137.7);
Tailwind
colors: {
  custom: {
    50: '#6d9058',
    500: '#2e6315',
    950: '#000000',
  },
}
SCSS
$custom: #2e6315;
$custom-light: #6d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6315",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 100.769,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44637,
    "c": 0.12206,
    "h": 137.7
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#2E6315
secondary
#7B3A9A
accent
#40E8B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6315

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

Preview Lab → · Contrast checker → · Palette generator →

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