#2E7934#2E7934

#2E7934 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.127 H 144.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2E7934
RGBrgb(46, 121, 52)
HSLhsl(125, 45%, 33%)
HSVhsv(125, 62%, 47%)
CMYKcmyk(62%, 0%, 57%, 52.5%)
CIE-LABlab(44.95, -38.37, 30.72)
CIE-LCHlch(44.95, 49.16, 141.32°)
OKLaboklab(51.25% -0.104 0.0733)
OKLCHoklch(51.25% 0.127 144.8)
XYZxyz(8.5834, 14.5027, 5.5951)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7934 #792E73
analogous
#4D792E #2E7934 #2E7959
triadic
#2E7934 #342E79 #79342E
tetradic
#2E7934 #2E4D79 #792E73 #79592E
square
#2E7934 #2E4D79 #792E73 #79592E
split-complementary
#2E7934 #592E79 #792E4D
monochromatic
#0C200E #1D4D21 #2E7934 #3FA547 #5FC267

Accessibility & contrast

On white

5.38
#2E7934 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2E7934 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7934
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7934#FFFFFF#000000##FFFFFF
##2E79341.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2E
Deuteranopia (green-blind)
#726839
Tritanopia (blue-blind)
#1F766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7934;
/* rgb */ color: rgb(46, 121, 52);
/* oklch */ color: oklch(51.2% 0.127 144.8);
Tailwind
colors: {
  custom: {
    50: '#6fa06d',
    500: '#2e7934',
    950: '#000000',
  },
}
SCSS
$custom: #2e7934;
$custom-light: #6fa06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7934",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 52
  },
  "hsl": {
    "h": 124.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.12723,
    "h": 144.8
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#2E7934
secondary
#A95AA3
accent
#53CAD5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2E7934

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

Preview Lab → · Contrast checker → · Palette generator →

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