#2E6317#2E6317

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

Color values

HEX#2E6317
RGBrgb(46, 99, 23)
HSLhsl(102, 62%, 24%)
HSVhsv(102, 77%, 39%)
CMYKcmyk(53.5%, 0%, 76.8%, 61.2%)
CIE-LABlab(37.05, -32.47, 35.75)
CIE-LCHlch(37.05, 48.30, 132.25°)
OKLaboklab(44.65% -0.0897 0.0808)
OKLCHoklch(44.65% 0.121 138)
XYZxyz(5.7430, 9.5660, 2.3542)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6317 #4C1763
analogous
#546317 #2E6317 #176326
triadic
#2E6317 #172E63 #63172E
tetradic
#2E6317 #175463 #4C1763 #632617
square
#2E6317 #175463 #4C1763 #632617
split-complementary
#2E6317 #261763 #631754
monochromatic
#0C1906 #17310B #2E6317 #459523 #5CC62E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6317#FFFFFF#000000##FFFFFF
##2E63171.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)
#665A0A
Deuteranopia (green-blind)
#5F561E
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6317;
/* rgb */ color: rgb(46, 99, 23);
/* oklch */ color: oklch(44.7% 0.121 138.0);
Tailwind
colors: {
  custom: {
    50: '#6d9059',
    500: '#2e6317',
    950: '#000000',
  },
}
SCSS
$custom: #2e6317;
$custom-light: #6d9059;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6317",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 101.842,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44653,
    "c": 0.12074,
    "h": 138
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#2E6317
secondary
#7D3C9A
accent
#42E5B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6317

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

Preview Lab → · Contrast checker → · Palette generator →

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