#2E7C20#2E7C20

#2E7C20 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.147 H 140.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E7C20
RGBrgb(46, 124, 32)
HSLhsl(111, 59%, 31%)
HSVhsv(111, 74%, 49%)
CMYKcmyk(62.9%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.77, -41.83, 40.98)
CIE-LCHlch(45.77, 58.56, 135.59°)
OKLaboklab(51.87% -0.1144 0.093)
OKLCHoklch(51.87% 0.147 140.9)
XYZxyz(8.5947, 15.0996, 3.8278)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7C20 #6E207C
analogous
#5C7C20 #2E7C20 #207C40
triadic
#2E7C20 #202E7C #7C202E
tetradic
#2E7C20 #205C7C #6E207C #7C4020
square
#2E7C20 #205C7C #6E207C #7C4020
split-complementary
#2E7C20 #40207C #7C205C
monochromatic
#0A1B07 #1C4B13 #2E7C20 #40AD2D #5CCF47

Accessibility & contrast

On white

5.22
#2E7C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E7C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7C20
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7C20#FFFFFF#000000##FFFFFF
##2E7C201.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#22786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e7c20;
/* rgb */ color: rgb(46, 124, 32);
/* oklch */ color: oklch(51.9% 0.147 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a362',
    500: '#2e7c20',
    950: '#000000',
  },
}
SCSS
$custom: #2e7c20;
$custom-light: #71a362;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7c20",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 110.87,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.14747,
    "h": 140.9
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#2E7C20
secondary
#9F49AF
accent
#46E2CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7C20

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

Preview Lab → · Contrast checker → · Palette generator →

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