#2E701F#2E701F

#2E701F is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.133 H 140.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2E701F
RGBrgb(46, 112, 31)
HSLhsl(109, 57%, 28%)
HSVhsv(109, 72%, 44%)
CMYKcmyk(58.9%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.64, -37.19, 37.11)
CIE-LCHlch(41.64, 52.54, 135.07°)
OKLaboklab(48.45% -0.102 0.0848)
OKLCHoklch(48.45% 0.133 140.3)
XYZxyz(7.1679, 12.2675, 3.2862)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E701F #611F70
analogous
#56701F #2E701F #1F7038
triadic
#2E701F #1F2E70 #701F2E
tetradic
#2E701F #1F5670 #611F70 #70381F
square
#2E701F #1F5670 #611F70 #70381F
split-complementary
#2E701F #381F70 #701F56
monochromatic
#0A1807 #1A4012 #2E701F #42A02C #59CA3F

Accessibility & contrast

On white

6.08
#2E701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2E701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E701F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E701F#FFFFFF#000000##FFFFFF
##2E701F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#266C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e701f;
/* rgb */ color: rgb(46, 112, 31);
/* oklch */ color: oklch(48.5% 0.133 140.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a5f',
    500: '#2e701f',
    950: '#000000',
  },
}
SCSS
$custom: #2e701f;
$custom-light: #6f9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e701f",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 108.889,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.1326,
    "h": 140.3
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#2E701F
secondary
#9347A4
accent
#48E0C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2E701F

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

Preview Lab → · Contrast checker → · Palette generator →

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