#2E501E#2E501E

#2E501E is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.087 H 136.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2E501E
RGBrgb(46, 80, 30)
HSLhsl(101, 45%, 22%)
HSVhsv(101, 63%, 31%)
CMYKcmyk(42.5%, 0%, 62.5%, 68.6%)
CIE-LABlab(30.43, -22.94, 25.22)
CIE-LCHlch(30.43, 34.09, 132.28°)
OKLaboklab(39.25% -0.0633 0.0594)
OKLCHoklch(39.25% 0.087 136.8)
XYZxyz(4.2296, 6.4117, 2.2428)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E501E #401E50
analogous
#47501E #2E501E #1E5027
triadic
#2E501E #1E2E50 #501E2E
tetradic
#2E501E #1E4750 #401E50 #50271E
square
#2E501E #1E4750 #401E50 #50271E
split-complementary
#2E501E #271E50 #501E47
monochromatic
#0D1608 #14230D #2E501E #487D2F #61A93F

Accessibility & contrast

On white

9.20
#2E501E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E501E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E501E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E501E#FFFFFF#000000##FFFFFF
##2E501E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534919
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#2D4D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e501e;
/* rgb */ color: rgb(46, 80, 30);
/* oklch */ color: oklch(39.2% 0.087 136.8);
Tailwind
colors: {
  custom: {
    50: '#69815c',
    500: '#2e501e',
    950: '#000000',
  },
}
SCSS
$custom: #2e501e;
$custom-light: #69815c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e501e",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 100.8,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.08682,
    "h": 136.8
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#2E501E
secondary
#704585
accent
#53D5AB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E501E

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

Preview Lab → · Contrast checker → · Palette generator →

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