#2E5F1B#2E5F1B

#2E5F1B is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.112 H 138.3°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2E5F1B
RGBrgb(46, 95, 27)
HSLhsl(103, 56%, 24%)
HSVhsv(103, 72%, 37%)
CMYKcmyk(51.6%, 0%, 71.6%, 62.7%)
CIE-LABlab(35.68, -30.36, 32.58)
CIE-LCHlch(35.68, 44.53, 132.98°)
OKLaboklab(43.54% -0.0837 0.0747)
OKLCHoklch(43.54% 0.112 138.3)
XYZxyz(5.4166, 8.8440, 2.4583)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F1B #4C1B5F
analogous
#505F1B #2E5F1B #1B5F2A
triadic
#2E5F1B #1B2E5F #5F1B2E
tetradic
#2E5F1B #1B505F #4C1B5F #5F2A1B
square
#2E5F1B #1B505F #4C1B5F #5F2A1B
split-complementary
#2E5F1B #2A1B5F #5F1B50
monochromatic
#0C1807 #172F0D #2E5F1B #458F29 #5CBE36

Accessibility & contrast

On white

7.58
#2E5F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2E5F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F1B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F1B#FFFFFF#000000##FFFFFF
##2E5F1B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625712
Deuteranopia (green-blind)
#5C5221
Tritanopia (blue-blind)
#2A5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f1b;
/* rgb */ color: rgb(46, 95, 27);
/* oklch */ color: oklch(43.5% 0.112 138.3);
Tailwind
colors: {
  custom: {
    50: '#6c8d5b',
    500: '#2e5f1b',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f1b;
$custom-light: #6c8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f1b",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 103.235,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.11222,
    "h": 138.3
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#2E5F1B
secondary
#7D4195
accent
#49DFB5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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