#2E501F#2E501F

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

Color values

HEX#2E501F
RGBrgb(46, 80, 31)
HSLhsl(102, 44%, 22%)
HSVhsv(102, 61%, 31%)
CMYKcmyk(42.5%, 0%, 61.2%, 68.6%)
CIE-LABlab(30.44, -22.81, 24.70)
CIE-LCHlch(30.44, 33.62, 132.73°)
OKLaboklab(39.26% -0.0629 0.0584)
OKLCHoklch(39.26% 0.086 137.1)
XYZxyz(4.2426, 6.4169, 2.3111)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E501F #411F50
analogous
#47501F #2E501F #1F5029
triadic
#2E501F #1F2E50 #501F2E
tetradic
#2E501F #1F4750 #411F50 #50291F
square
#2E501F #1F4750 #411F50 #50291F
split-complementary
#2E501F #291F50 #501F47
monochromatic
#0D1609 #15240E #2E501F #477C30 #61A841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E501F#FFFFFF#000000##FFFFFF
##2E501F1.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)
#534A1A
Deuteranopia (green-blind)
#4E4722
Tritanopia (blue-blind)
#2C4D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e501f;
/* rgb */ color: rgb(46, 80, 31);
/* oklch */ color: oklch(39.3% 0.086 137.1);
Tailwind
colors: {
  custom: {
    50: '#69815c',
    500: '#2e501f',
    950: '#000000',
  },
}
SCSS
$custom: #2e501f;
$custom-light: #69815c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e501f",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 101.633,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.0858,
    "h": 137.1
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#2E501F
secondary
#724685
accent
#54D4AD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E501F

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

Preview Lab → · Contrast checker → · Palette generator →

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