#2E6F17#2E6F17

#2E6F17 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.137 H 139.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2E6F17
RGBrgb(46, 111, 23)
HSLhsl(104, 66%, 26%)
HSVhsv(104, 79%, 44%)
CMYKcmyk(58.6%, 0%, 79.3%, 56.5%)
CIE-LABlab(41.23, -37.46, 39.92)
CIE-LCHlch(41.23, 54.74, 133.18°)
OKLaboklab(48.1% -0.1032 0.0895)
OKLCHoklch(48.1% 0.137 139.1)
XYZxyz(6.9655, 12.0110, 2.7617)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6F17 #58176F
analogous
#5A6F17 #2E6F17 #176F2C
triadic
#2E6F17 #172E6F #6F172E
tetradic
#2E6F17 #175A6F #58176F #6F2C17
square
#2E6F17 #175A6F #58176F #6F2C17
split-complementary
#2E6F17 #2C176F #6F175A
monochromatic
#0B1905 #193C0C #2E6F17 #43A222 #58D32D

Accessibility & contrast

On white

6.17
#2E6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6F17
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6F17#FFFFFF#000000##FFFFFF
##2E6F171.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726504
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#276B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e6f17;
/* rgb */ color: rgb(46, 111, 23);
/* oklch */ color: oklch(48.1% 0.137 139.1);
Tailwind
colors: {
  custom: {
    50: '#6f995b',
    500: '#2e6f17',
    950: '#000000',
  },
}
SCSS
$custom: #2e6f17;
$custom-light: #6f995b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6f17",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 104.318,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48099,
    "c": 0.13658,
    "h": 139.1
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#2E6F17
secondary
#8A3DA5
accent
#3FE9BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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