#2E5C22#2E5C22

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

Color values

HEX#2E5C22
RGBrgb(46, 92, 34)
HSLhsl(108, 46%, 25%)
HSVhsv(108, 63%, 36%)
CMYKcmyk(50%, 0%, 63%, 63.9%)
CIE-LABlab(34.70, -28.22, 28.04)
CIE-LCHlch(34.70, 39.78, 135.17°)
OKLaboklab(42.76% -0.0774 0.0659)
OKLCHoklch(42.76% 0.102 139.6)
XYZxyz(5.2424, 8.3503, 2.8486)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C22 #50225C
analogous
#4B5C22 #2E5C22 #225C33
triadic
#2E5C22 #222E5C #5C222E
tetradic
#2E5C22 #224B5C #50225C #5C3322
square
#2E5C22 #224B5C #50225C #5C3322
split-complementary
#2E5C22 #33225C #5C224B
monochromatic
#0B1608 #182F11 #2E5C22 #448933 #5BB543

Accessibility & contrast

On white

7.86
#2E5C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2E5C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C22
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C22#FFFFFF#000000##FFFFFF
##2E5C221.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F541C
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#2A594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5c22;
/* rgb */ color: rgb(46, 92, 34);
/* oklch */ color: oklch(42.8% 0.102 139.6);
Tailwind
colors: {
  custom: {
    50: '#6b8a5f',
    500: '#2e5c22',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c22;
$custom-light: #6b8a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c22",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 34
  },
  "hsl": {
    "h": 107.586,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.10167,
    "h": 139.6
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#2E5C22
secondary
#814A90
accent
#52D6BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2E5C22

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

Preview Lab → · Contrast checker → · Palette generator →

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