#2E7213#2E7213

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

Color values

HEX#2E7213
RGBrgb(46, 114, 19)
HSLhsl(103, 71%, 26%)
HSVhsv(103, 83%, 45%)
CMYKcmyk(59.6%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.25, -38.92, 42.27)
CIE-LCHlch(42.25, 57.46, 132.63°)
OKLaboklab(48.93% -0.1073 0.0938)
OKLCHoklch(48.93% 0.143 138.9)
XYZxyz(7.2613, 12.6619, 2.6773)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7213 #571372
analogous
#5D7213 #2E7213 #137227
triadic
#2E7213 #132E72 #72132E
tetradic
#2E7213 #135D72 #571372 #722713
square
#2E7213 #135D72 #571372 #722713
split-complementary
#2E7213 #271372 #72135D
monochromatic
#0B1A04 #193E0A #2E7213 #43A61C #58DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7213#FFFFFF#000000##FFFFFF
##2E72131.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)
#6D621E
Tritanopia (blue-blind)
#276E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2e7213;
/* rgb */ color: rgb(46, 114, 19);
/* oklch */ color: oklch(48.9% 0.143 138.9);
Tailwind
colors: {
  custom: {
    50: '#709b5a',
    500: '#2e7213',
    950: '#000000',
  },
}
SCSS
$custom: #2e7213;
$custom-light: #709b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7213",
  "rgb": {
    "r": 46,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 102.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48931,
    "c": 0.14255,
    "h": 138.9
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#2E7213
secondary
#8938A9
accent
#3AEEBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2E7213

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

Preview Lab → · Contrast checker → · Palette generator →

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