#2E671A#2E671A

#2E671A is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.124 H 138.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2E671A
RGBrgb(46, 103, 26)
HSLhsl(104, 60%, 25%)
HSVhsv(104, 75%, 40%)
CMYKcmyk(55.3%, 0%, 74.8%, 59.6%)
CIE-LABlab(38.47, -33.92, 35.95)
CIE-LCHlch(38.47, 49.43, 133.34°)
OKLaboklab(45.83% -0.0934 0.0817)
OKLCHoklch(45.83% 0.124 138.9)
XYZxyz(6.1632, 10.3554, 2.6511)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E671A #531A67
analogous
#54671A #2E671A #1A672D
triadic
#2E671A #1A2E67 #671A2E
tetradic
#2E671A #1A5467 #531A67 #672D1A
square
#2E671A #1A5467 #531A67 #672D1A
split-complementary
#2E671A #2D1A67 #671A54
monochromatic
#0B1806 #18360E #2E671A #449826 #5AC933

Accessibility & contrast

On white

6.84
#2E671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E671A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E671A#FFFFFF#000000##FFFFFF
##2E671A1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E0E
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e671a;
/* rgb */ color: rgb(46, 103, 26);
/* oklch */ color: oklch(45.8% 0.124 138.9);
Tailwind
colors: {
  custom: {
    50: '#6d935c',
    500: '#2e671a',
    950: '#000000',
  },
}
SCSS
$custom: #2e671a;
$custom-light: #6d935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e671a",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 104.416,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.1241,
    "h": 138.9
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#2E671A
secondary
#85409D
accent
#45E3BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E671A

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

Preview Lab → · Contrast checker → · Palette generator →

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