#2E5C28#2E5C28

#2E5C28 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.096 H 141.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2E5C28
RGBrgb(46, 92, 40)
HSLhsl(113, 39%, 26%)
HSVhsv(113, 57%, 36%)
CMYKcmyk(50%, 0%, 56.5%, 63.9%)
CIE-LABlab(34.78, -27.41, 24.91)
CIE-LCHlch(34.78, 37.04, 137.74°)
OKLaboklab(42.84% -0.0748 0.0596)
OKLCHoklch(42.84% 0.096 141.5)
XYZxyz(5.3366, 8.3880, 3.3449)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C28 #56285C
analogous
#485C28 #2E5C28 #285C3C
triadic
#2E5C28 #282E5C #5C282E
tetradic
#2E5C28 #28485C #56285C #5C3C28
square
#2E5C28 #28485C #56285C #5C3C28
split-complementary
#2E5C28 #3C285C #5C2848
monochromatic
#0B1509 #193115 #2E5C28 #43873B #59B14D

Accessibility & contrast

On white

7.84
#2E5C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E5C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C28
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C28#FFFFFF#000000##FFFFFF
##2E5C281.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#295950
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5c28;
/* rgb */ color: rgb(46, 92, 40);
/* oklch */ color: oklch(42.8% 0.096 141.5);
Tailwind
colors: {
  custom: {
    50: '#6b8a63',
    500: '#2e5c28',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c28;
$custom-light: #6b8a63;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c28",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 113.077,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.09569,
    "h": 141.5
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#2E5C28
secondary
#88518F
accent
#59CFC2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #2E5C28

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

Preview Lab → · Contrast checker → · Palette generator →

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