#2E7820#2E7820

#2E7820 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.142 H 140.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2E7820
RGBrgb(46, 120, 32)
HSLhsl(110, 58%, 30%)
HSVhsv(110, 73%, 47%)
CMYKcmyk(61.7%, 0%, 73.3%, 52.9%)
CIE-LABlab(44.40, -40.28, 39.57)
CIE-LCHlch(44.40, 56.47, 135.51°)
OKLaboklab(50.74% -0.1102 0.0901)
OKLCHoklch(50.74% 0.142 140.8)
XYZxyz(8.1035, 14.1173, 3.6641)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7820 #6A2078
analogous
#5A7820 #2E7820 #20783E
triadic
#2E7820 #202E78 #78202E
tetradic
#2E7820 #205A78 #6A2078 #783E20
square
#2E7820 #205A78 #6A2078 #783E20
split-complementary
#2E7820 #3E2078 #78205A
monochromatic
#091806 #1B4813 #2E7820 #41A82D #5BCD45

Accessibility & contrast

On white

5.49
#2E7820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2E7820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7820
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7820#FFFFFF#000000##FFFFFF
##2E78201.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#247467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2e7820;
/* rgb */ color: rgb(46, 120, 32);
/* oklch */ color: oklch(50.7% 0.142 140.8);
Tailwind
colors: {
  custom: {
    50: '#70a061',
    500: '#2e7820',
    950: '#000000',
  },
}
SCSS
$custom: #2e7820;
$custom-light: #70a061;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7820",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 110.455,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.14236,
    "h": 140.8
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#2E7820
secondary
#9C48AB
accent
#47E1C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2E7820

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

Preview Lab → · Contrast checker → · Palette generator →

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