#2E512E#2E512E

#2E512E is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.8% C 0.071 H 144.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E512E
RGBrgb(46, 81, 46)
HSLhsl(120, 28%, 25%)
HSVhsv(120, 43%, 32%)
CMYKcmyk(43.2%, 0%, 43.2%, 68.2%)
CIE-LABlab(31.03, -20.99, 16.71)
CIE-LCHlch(31.03, 26.83, 141.47°)
OKLaboklab(39.81% -0.0572 0.0414)
OKLCHoklch(39.81% 0.071 144.1)
XYZxyz(4.5621, 6.6627, 3.6299)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E512E #512E51
analogous
#40512E #2E512E #2E5140
triadic
#2E512E #2E2E51 #512E2E
tetradic
#2E512E #2E4051 #512E51 #51402E
square
#2E512E #2E4051 #512E51 #51402E
split-complementary
#2E512E #402E51 #512E40
monochromatic
#0B140B #182A18 #2E512E #447844 #5A9F5A

Accessibility & contrast

On white

9.00
#2E512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E512E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E512E#FFFFFF#000000##FFFFFF
##2E512E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2C
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#2A4F48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e512e;
/* rgb */ color: rgb(46, 81, 46);
/* oklch */ color: oklch(39.8% 0.071 144.1);
Tailwind
colors: {
  custom: {
    50: '#698267',
    500: '#2e512e',
    950: '#000000',
  },
}
SCSS
$custom: #2e512e;
$custom-light: #698267;
$custom-dark: #000000;
JSON
{
  "hex": "#2e512e",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 120,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.07058,
    "h": 144.1
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#2E512E
secondary
#835883
accent
#64C4C4
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2E512E

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

Preview Lab → · Contrast checker → · Palette generator →

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