#2E6B15#2E6B15

#2E6B15 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.133 H 138.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2E6B15
RGBrgb(46, 107, 21)
HSLhsl(103, 67%, 25%)
HSVhsv(103, 80%, 42%)
CMYKcmyk(57%, 0%, 80.4%, 58%)
CIE-LABlab(39.83, -35.98, 39.28)
CIE-LCHlch(39.83, 53.27, 132.49°)
OKLaboklab(46.94% -0.0993 0.0879)
OKLCHoklch(46.94% 0.133 138.5)
XYZxyz(6.5195, 11.1499, 2.5179)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6B15 #52156B
analogous
#596B15 #2E6B15 #156B27
triadic
#2E6B15 #152E6B #6B152E
tetradic
#2E6B15 #15596B #52156B #6B2715
square
#2E6B15 #15596B #52156B #6B2715
split-complementary
#2E6B15 #27156B #6B1559
monochromatic
#0B1A05 #18380B #2E6B15 #449E1F #5AD129

Accessibility & contrast

On white

6.50
#2E6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2E6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6B15
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6B15#FFFFFF#000000##FFFFFF
##2E6B151.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#28675B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e6b15;
/* rgb */ color: rgb(46, 107, 21);
/* oklch */ color: oklch(46.9% 0.133 138.5);
Tailwind
colors: {
  custom: {
    50: '#6e965a',
    500: '#2e6b15',
    950: '#000000',
  },
}
SCSS
$custom: #2e6b15;
$custom-light: #6e965a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6b15",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 102.558,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46939,
    "c": 0.13261,
    "h": 138.5
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#2E6B15
secondary
#843AA2
accent
#3EEAB8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2E6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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