#2E6017#2E6017

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

Color values

HEX#2E6017
RGBrgb(46, 96, 23)
HSLhsl(101, 61%, 23%)
HSVhsv(101, 76%, 38%)
CMYKcmyk(52.1%, 0%, 76%, 62.4%)
CIE-LABlab(36.00, -31.16, 34.68)
CIE-LCHlch(36.00, 46.63, 131.94°)
OKLaboklab(43.79% -0.0862 0.0786)
OKLCHoklch(43.79% 0.117 137.7)
XYZxyz(5.4641, 9.0081, 2.2613)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6017 #491760
analogous
#526017 #2E6017 #176024
triadic
#2E6017 #172E60 #60172E
tetradic
#2E6017 #175260 #491760 #602417
square
#2E6017 #175260 #491760 #602417
split-complementary
#2E6017 #241760 #601752
monochromatic
#0C1906 #162F0B #2E6017 #469123 #5DC32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6017#FFFFFF#000000##FFFFFF
##2E60171.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)
#63570B
Deuteranopia (green-blind)
#5D531E
Tritanopia (blue-blind)
#2B5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e6017;
/* rgb */ color: rgb(46, 96, 23);
/* oklch */ color: oklch(43.8% 0.117 137.7);
Tailwind
colors: {
  custom: {
    50: '#6c8e59',
    500: '#2e6017',
    950: '#000000',
  },
}
SCSS
$custom: #2e6017;
$custom-light: #6c8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6017",
  "rgb": {
    "r": 46,
    "g": 96,
    "b": 23
  },
  "hsl": {
    "h": 101.096,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43788,
    "c": 0.11664,
    "h": 137.7
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#2E6017
secondary
#7A3C97
accent
#43E4B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E6017

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

Preview Lab → · Contrast checker → · Palette generator →

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