#2E7921#2E7921

#2E7921 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.143 H 140.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2E7921
RGBrgb(46, 121, 33)
HSLhsl(111, 57%, 30%)
HSVhsv(111, 73%, 47%)
CMYKcmyk(62%, 0%, 72.7%, 52.5%)
CIE-LABlab(44.75, -40.58, 39.52)
CIE-LCHlch(44.75, 56.64, 135.76°)
OKLaboklab(51.03% -0.111 0.0901)
OKLCHoklch(51.03% 0.143 140.9)
XYZxyz(8.2382, 14.3646, 3.7771)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7921 #6C2179
analogous
#5A7921 #2E7921 #217940
triadic
#2E7921 #212E79 #79212E
tetradic
#2E7921 #215A79 #6C2179 #794021
square
#2E7921 #215A79 #6C2179 #794021
split-complementary
#2E7921 #402179 #79215A
monochromatic
#091907 #1C4914 #2E7921 #40A92E #5BCD47

Accessibility & contrast

On white

5.42
#2E7921 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2E7921 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7921
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7921#FFFFFF#000000##FFFFFF
##2E79211.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E13
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#237567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7921;
/* rgb */ color: rgb(46, 121, 33);
/* oklch */ color: oklch(51.0% 0.143 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a062',
    500: '#2e7921',
    950: '#000000',
  },
}
SCSS
$custom: #2e7921;
$custom-light: #70a062;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7921",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 111.136,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51027,
    "c": 0.14297,
    "h": 140.9
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#2E7921
secondary
#9E4AAC
accent
#47E0CA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2E7921

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

Preview Lab → · Contrast checker → · Palette generator →

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