#2E5E20#2E5E20

#2E5E20 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.107 H 139.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2E5E20
RGBrgb(46, 94, 32)
HSLhsl(106, 49%, 25%)
HSVhsv(106, 66%, 37%)
CMYKcmyk(51.1%, 0%, 66%, 63.1%)
CIE-LABlab(35.38, -29.37, 29.84)
CIE-LCHlch(35.38, 41.87, 134.55°)
OKLaboklab(43.31% -0.0807 0.0696)
OKLCHoklch(43.31% 0.107 139.2)
XYZxyz(5.3899, 8.6902, 2.7596)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5E20 #50205E
analogous
#4D5E20 #2E5E20 #205E31
triadic
#2E5E20 #202E5E #5E202E
tetradic
#2E5E20 #204D5E #50205E #5E3120
square
#2E5E20 #204D5E #50205E #5E3120
split-complementary
#2E5E20 #31205E #5E204D
monochromatic
#0B1708 #183010 #2E5E20 #448C30 #5BB93F

Accessibility & contrast

On white

7.67
#2E5E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2E5E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5E20
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5E20#FFFFFF#000000##FFFFFF
##2E5E201.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#5A5225
Tritanopia (blue-blind)
#2A5B51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e5e20;
/* rgb */ color: rgb(46, 94, 32);
/* oklch */ color: oklch(43.3% 0.107 139.2);
Tailwind
colors: {
  custom: {
    50: '#6b8c5e',
    500: '#2e5e20',
    950: '#000000',
  },
}
SCSS
$custom: #2e5e20;
$custom-light: #6b8c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5e20",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 32
  },
  "hsl": {
    "h": 106.452,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.10653,
    "h": 139.2
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#2E5E20
secondary
#814792
accent
#4FD9BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5E20

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

Preview Lab → · Contrast checker → · Palette generator →

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