#2E671B#2E671B

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

Color values

HEX#2E671B
RGBrgb(46, 103, 27)
HSLhsl(105, 58%, 25%)
HSVhsv(105, 74%, 40%)
CMYKcmyk(55.3%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.48, -33.83, 35.53)
CIE-LCHlch(38.48, 49.06, 133.60°)
OKLaboklab(45.84% -0.0931 0.0809)
OKLCHoklch(45.84% 0.123 139)
XYZxyz(6.1746, 10.3600, 2.7110)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E671B #541B67
analogous
#54671B #2E671B #1B672E
triadic
#2E671B #1B2E67 #671B2E
tetradic
#2E671B #1B5467 #541B67 #672E1B
square
#2E671B #1B5467 #541B67 #672E1B
split-complementary
#2E671B #2E1B67 #671B54
monochromatic
#0B1806 #18370E #2E671B #449728 #59C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E671B#FFFFFF#000000##FFFFFF
##2E671B1.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)
#6A5E0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e671b;
/* rgb */ color: rgb(46, 103, 27);
/* oklch */ color: oklch(45.8% 0.123 139.0);
Tailwind
colors: {
  custom: {
    50: '#6d935c',
    500: '#2e671b',
    950: '#000000',
  },
}
SCSS
$custom: #2e671b;
$custom-light: #6d935c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e671b",
  "rgb": {
    "r": 46,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 105,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4584,
    "c": 0.12338,
    "h": 139
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#2E671B
secondary
#86429C
accent
#46E2BB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2E671B

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

Preview Lab → · Contrast checker → · Palette generator →

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