#2E6517#2E6517

#2E6517 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.2% C 0.123 H 138.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2E6517
RGBrgb(46, 101, 23)
HSLhsl(102, 63%, 24%)
HSVhsv(102, 77%, 40%)
CMYKcmyk(54.5%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.75, -33.33, 36.46)
CIE-LCHlch(37.75, 49.39, 132.43°)
OKLaboklab(45.23% -0.0921 0.0823)
OKLCHoklch(45.23% 0.123 138.2)
XYZxyz(5.9348, 9.9496, 2.4182)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6517 #4E1765
analogous
#556517 #2E6517 #176527
triadic
#2E6517 #172E65 #65172E
tetradic
#2E6517 #175565 #4E1765 #652717
square
#2E6517 #175565 #4E1765 #652717
split-complementary
#2E6517 #271765 #651755
monochromatic
#0B1906 #17330C #2E6517 #459722 #5BC92E

Accessibility & contrast

On white

7.02
#2E6517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E6517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6517
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6517#FFFFFF#000000##FFFFFF
##2E65171.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#2A6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e6517;
/* rgb */ color: rgb(46, 101, 23);
/* oklch */ color: oklch(45.2% 0.123 138.2);
Tailwind
colors: {
  custom: {
    50: '#6d915a',
    500: '#2e6517',
    950: '#000000',
  },
}
SCSS
$custom: #2e6517;
$custom-light: #6d915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6517",
  "rgb": {
    "r": 46,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 102.308,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.12345,
    "h": 138.2
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#2E6517
secondary
#7F3C9B
accent
#42E6B6
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E6517

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

Preview Lab → · Contrast checker → · Palette generator →

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