#2E7923#2E7923

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

Color values

HEX#2E7923
RGBrgb(46, 121, 35)
HSLhsl(112, 55%, 31%)
HSVhsv(112, 71%, 47%)
CMYKcmyk(62%, 0%, 71.1%, 52.5%)
CIE-LABlab(44.77, -40.40, 38.68)
CIE-LCHlch(44.77, 55.93, 136.24°)
OKLaboklab(51.04% -0.1104 0.0886)
OKLCHoklch(51.04% 0.142 141.2)
XYZxyz(8.2671, 14.3762, 3.9290)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7923 #6E2379
analogous
#597923 #2E7923 #237943
triadic
#2E7923 #232E79 #79232E
tetradic
#2E7923 #235979 #6E2379 #794323
square
#2E7923 #235979 #6E2379 #794323
split-complementary
#2E7923 #432379 #792359
monochromatic
#0A1A08 #1C4A15 #2E7923 #40A831 #5CCB4B

Accessibility & contrast

On white

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

On black

3.88
#2E7923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E7923#FFFFFF#000000##FFFFFF
##2E79231.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E17
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#237568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2e7923;
/* rgb */ color: rgb(46, 121, 35);
/* oklch */ color: oklch(51.0% 0.142 141.2);
Tailwind
colors: {
  custom: {
    50: '#70a063',
    500: '#2e7923',
    950: '#000000',
  },
}
SCSS
$custom: #2e7923;
$custom-light: #70a063;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7923",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 112.326,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.14155,
    "h": 141.2
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#2E7923
secondary
#9F4CAC
accent
#49DECB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2E7923

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

Preview Lab → · Contrast checker → · Palette generator →

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