#2E7718#2E7718

#2E7718 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.146 H 139.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2E7718
RGBrgb(46, 119, 24)
HSLhsl(106, 66%, 28%)
HSVhsv(106, 80%, 47%)
CMYKcmyk(61.3%, 0%, 79.8%, 53.3%)
CIE-LABlab(44.00, -40.53, 42.25)
CIE-LCHlch(44.00, 58.55, 133.81°)
OKLaboklab(50.39% -0.1114 0.0945)
OKLCHoklch(50.39% 0.146 139.7)
XYZxyz(7.8881, 13.8397, 3.1196)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7718 #611877
analogous
#5D7718 #2E7718 #187731
triadic
#2E7718 #182E77 #77182E
tetradic
#2E7718 #185D77 #611877 #773118
square
#2E7718 #185D77 #611877 #773118
split-complementary
#2E7718 #311877 #77185D
monochromatic
#0A1905 #1A440E #2E7718 #42AA22 #59D633

Accessibility & contrast

On white

5.57
#2E7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2E7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7718
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7718#FFFFFF#000000##FFFFFF
##2E77181.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#257365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2e7718;
/* rgb */ color: rgb(46, 119, 24);
/* oklch */ color: oklch(50.4% 0.146 139.7);
Tailwind
colors: {
  custom: {
    50: '#709f5d',
    500: '#2e7718',
    950: '#000000',
  },
}
SCSS
$custom: #2e7718;
$custom-light: #709f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7718",
  "rgb": {
    "r": 46,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 106.105,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.1461,
    "h": 139.7
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#2E7718
secondary
#933FAC
accent
#3EE9C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7718

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

Preview Lab → · Contrast checker → · Palette generator →

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