#2E7214#2E7214

#2E7214 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.142 H 139.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2E7214
RGBrgb(46, 114, 20)
HSLhsl(103, 70%, 26%)
HSVhsv(103, 82%, 45%)
CMYKcmyk(59.6%, 0%, 82.5%, 55.3%)
CIE-LABlab(42.25, -38.85, 41.95)
CIE-LCHlch(42.25, 57.18, 132.81°)
OKLaboklab(48.94% -0.1071 0.0933)
OKLCHoklch(48.94% 0.142 139)
XYZxyz(7.2700, 12.6654, 2.7232)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7214 #581472
analogous
#5D7214 #2E7214 #147229
triadic
#2E7214 #142E72 #72142E
tetradic
#2E7214 #145D72 #581472 #722914
square
#2E7214 #145D72 #581472 #722914
split-complementary
#2E7214 #291472 #72145D
monochromatic
#0B1A05 #193E0B #2E7214 #43A61D #58D927

Accessibility & contrast

On white

5.94
#2E7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2E7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7214
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7214#FFFFFF#000000##FFFFFF
##2E72141.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621F
Tritanopia (blue-blind)
#276E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7214;
/* rgb */ color: rgb(46, 114, 20);
/* oklch */ color: oklch(48.9% 0.142 139.0);
Tailwind
colors: {
  custom: {
    50: '#709b5a',
    500: '#2e7214',
    950: '#000000',
  },
}
SCSS
$custom: #2e7214;
$custom-light: #709b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7214",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 103.404,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48937,
    "c": 0.14204,
    "h": 139
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#2E7214
secondary
#8A39A8
accent
#3BEDBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7214

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

Preview Lab → · Contrast checker → · Palette generator →

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