#2E7028#2E7028

#2E7028 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.125 H 142.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2E7028
RGBrgb(46, 112, 40)
HSLhsl(115, 47%, 30%)
HSVhsv(115, 64%, 44%)
CMYKcmyk(58.9%, 0%, 64.3%, 56.1%)
CIE-LABlab(41.72, -36.24, 33.03)
CIE-LCHlch(41.72, 49.03, 137.65°)
OKLaboklab(48.55% -0.0988 0.0773)
OKLCHoklch(48.55% 0.125 142)
XYZxyz(7.3035, 12.3218, 4.0005)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7028 #6A2870
analogous
#527028 #2E7028 #287046
triadic
#2E7028 #282E70 #70282E
tetradic
#2E7028 #285270 #6A2870 #704628
square
#2E7028 #285270 #6A2870 #704628
split-complementary
#2E7028 #462870 #702852
monochromatic
#091708 #1B4318 #2E7028 #419D38 #5BC151

Accessibility & contrast

On white

6.06
#2E7028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2E7028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7028
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7028#FFFFFF#000000##FFFFFF
##2E70281.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736620
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e7028;
/* rgb */ color: rgb(46, 112, 40);
/* oklch */ color: oklch(48.5% 0.125 142.0);
Tailwind
colors: {
  custom: {
    50: '#6e9a65',
    500: '#2e7028',
    950: '#000000',
  },
}
SCSS
$custom: #2e7028;
$custom-light: #6e9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7028",
  "rgb": {
    "r": 46,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 115,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.12542,
    "h": 142
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#2E7028
secondary
#9C51A2
accent
#51D7CC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2E7028

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

Preview Lab → · Contrast checker → · Palette generator →

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