#2E6428#2E6428

#2E6428 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.108 H 141.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2E6428
RGBrgb(46, 100, 40)
HSLhsl(114, 43%, 27%)
HSVhsv(114, 60%, 39%)
CMYKcmyk(54%, 0%, 60%, 60.8%)
CIE-LABlab(37.57, -31.08, 28.24)
CIE-LCHlch(37.57, 41.99, 137.74°)
OKLaboklab(45.13% -0.0848 0.0669)
OKLCHoklch(45.13% 0.108 141.7)
XYZxyz(6.0666, 9.8479, 3.5882)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6428 #5E2864
analogous
#4C6428 #2E6428 #286440
triadic
#2E6428 #282E64 #64282E
tetradic
#2E6428 #284C64 #5E2864 #644028
square
#2E6428 #284C64 #5E2864 #644028
split-complementary
#2E6428 #402864 #64284C
monochromatic
#0A1609 #1A3817 #2E6428 #429039 #59B84E

Accessibility & contrast

On white

7.07
#2E6428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2E6428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6428
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6428#FFFFFF#000000##FFFFFF
##2E64281.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B22
Deuteranopia (green-blind)
#5F572C
Tritanopia (blue-blind)
#276157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2e6428;
/* rgb */ color: rgb(46, 100, 40);
/* oklch */ color: oklch(45.1% 0.108 141.7);
Tailwind
colors: {
  custom: {
    50: '#6c9164',
    500: '#2e6428',
    950: '#000000',
  },
}
SCSS
$custom: #2e6428;
$custom-light: #6c9164;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6428",
  "rgb": {
    "r": 46,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 114,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45131,
    "c": 0.10802,
    "h": 141.7
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#2E6428
secondary
#905197
accent
#55D3C6
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070D05
muted
#7A7D7A

Preview Lab

Preview with #2E6428

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

Preview Lab → · Contrast checker → · Palette generator →

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