#2E5121#2E5121

#2E5121 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.085 H 138.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2E5121
RGBrgb(46, 81, 33)
HSLhsl(104, 42%, 22%)
HSVhsv(104, 59%, 32%)
CMYKcmyk(43.2%, 0%, 59.3%, 68.2%)
CIE-LABlab(30.82, -23.05, 24.04)
CIE-LCHlch(30.82, 33.30, 133.79°)
OKLaboklab(39.58% -0.0634 0.0571)
OKLCHoklch(39.58% 0.085 138)
XYZxyz(4.3435, 6.5753, 2.4788)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5121 #442151
analogous
#465121 #2E5121 #21512C
triadic
#2E5121 #212E51 #51212E
tetradic
#2E5121 #214651 #442151 #512C21
square
#2E5121 #214651 #442151 #512C21
split-complementary
#2E5121 #2C2151 #512146
monochromatic
#0C1609 #15260F #2E5121 #477C33 #5FA844

Accessibility & contrast

On white

9.07
#2E5121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E5121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5121
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5121#FFFFFF#000000##FFFFFF
##2E51211.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A1C
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#2C4E46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e5121;
/* rgb */ color: rgb(46, 81, 33);
/* oklch */ color: oklch(39.6% 0.085 138.0);
Tailwind
colors: {
  custom: {
    50: '#69825e',
    500: '#2e5121',
    950: '#000000',
  },
}
SCSS
$custom: #2e5121;
$custom-light: #69825e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5121",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 103.75,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.08533,
    "h": 138
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#2E5121
secondary
#754985
accent
#56D2B0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E5121

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

Preview Lab → · Contrast checker → · Palette generator →

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