#2E6D2F#2E6D2F

#2E6D2F is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.8% C 0.115 H 143.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2E6D2F
RGBrgb(46, 109, 47)
HSLhsl(121, 41%, 30%)
HSVhsv(121, 58%, 43%)
CMYKcmyk(57.8%, 0%, 56.9%, 57.3%)
CIE-LABlab(40.77, -34.05, 28.34)
CIE-LCHlch(40.77, 44.30, 140.23°)
OKLaboklab(47.79% -0.0925 0.0677)
OKLCHoklch(47.79% 0.115 143.8)
XYZxyz(7.1081, 11.7228, 4.5769)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6D2F #6D2E6C
analogous
#4D6D2E #2E6D2F #2E6D4E
triadic
#2E6D2F #2F2E6D #6D2F2E
tetradic
#2E6D2F #2E4D6D #6D2E6C #6D4E2E
square
#2E6D2F #2E4D6D #6D2E6C #6D4E2E
split-complementary
#2E6D2F #4E2E6D #6D2E4D
monochromatic
#0A170A #1C421C #2E6D2F #409842 #5BBA5D

Accessibility & contrast

On white

6.28
#2E6D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2E6D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6D2F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6D2F#FFFFFF#000000##FFFFFF
##2E6D2F1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#246A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e6d2f;
/* rgb */ color: rgb(46, 109, 47);
/* oklch */ color: oklch(47.8% 0.115 143.8);
Tailwind
colors: {
  custom: {
    50: '#6d9769',
    500: '#2e6d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2e6d2f;
$custom-light: #6d9769;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6d2f",
  "rgb": {
    "r": 46,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 120.952,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.11465,
    "h": 143.8
  },
  "luminance": 0.11723
}

Semantic roles & 50–950 ramp

primary
#2E6D2F
secondary
#9F589D
accent
#57CFD0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2E6D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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