#2E7D20#2E7D20

#2E7D20 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.149 H 140.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2E7D20
RGBrgb(46, 125, 32)
HSLhsl(111, 59%, 31%)
HSVhsv(111, 74%, 49%)
CMYKcmyk(63.2%, 0%, 74.4%, 51%)
CIE-LABlab(46.11, -42.21, 41.33)
CIE-LCHlch(46.11, 59.08, 135.60°)
OKLaboklab(52.15% -0.1155 0.0938)
OKLCHoklch(52.15% 0.149 140.9)
XYZxyz(8.7206, 15.3515, 3.8698)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7D20 #6F207D
analogous
#5C7D20 #2E7D20 #207D40
triadic
#2E7D20 #202E7D #7D202E
tetradic
#2E7D20 #205C7D #6F207D #7D4020
square
#2E7D20 #205C7D #6F207D #7D4020
split-complementary
#2E7D20 #40207D #7D205C
monochromatic
#0A1C07 #1C4C14 #2E7D20 #40AE2C #5CD047

Accessibility & contrast

On white

5.16
#2E7D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2E7D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7D20
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7D20#FFFFFF#000000##FFFFFF
##2E7D201.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#22796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e7d20;
/* rgb */ color: rgb(46, 125, 32);
/* oklch */ color: oklch(52.1% 0.149 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a362',
    500: '#2e7d20',
    950: '#000000',
  },
}
SCSS
$custom: #2e7d20;
$custom-light: #71a362;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7d20",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 110.968,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.14874,
    "h": 140.9
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#2E7D20
secondary
#A049B0
accent
#45E2CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2E7D20

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

Preview Lab → · Contrast checker → · Palette generator →

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