#2E512D#2E512D

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

Color values

HEX#2E512D
RGBrgb(46, 81, 45)
HSLhsl(118, 29%, 25%)
HSVhsv(118, 44%, 32%)
CMYKcmyk(43.2%, 0%, 44.4%, 68.2%)
CIE-LABlab(31.01, -21.17, 17.29)
CIE-LCHlch(31.01, 27.33, 140.76°)
OKLaboklab(39.79% -0.0577 0.0427)
OKLCHoklch(39.79% 0.072 143.5)
XYZxyz(4.5426, 6.6549, 3.5273)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E512D #502D51
analogous
#40512D #2E512D #2D513E
triadic
#2E512D #2D2E51 #512D2E
tetradic
#2E512D #2D4051 #502D51 #513E2D
square
#2E512D #2D4051 #502D51 #513E2D
split-complementary
#2E512D #3E2D51 #512D40
monochromatic
#0B140B #182A17 #2E512D #447843 #5BA059

Accessibility & contrast

On white

9.01
#2E512D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E512D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E512D#FFFFFF#000000##FFFFFF
##2E512D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e512d;
/* rgb */ color: rgb(46, 81, 45);
/* oklch */ color: oklch(39.8% 0.072 143.5);
Tailwind
colors: {
  custom: {
    50: '#698266',
    500: '#2e512d',
    950: '#000000',
  },
}
SCSS
$custom: #2e512d;
$custom-light: #698266;
$custom-dark: #000000;
JSON
{
  "hex": "#2e512d",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 118.333,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.07176,
    "h": 143.5
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#2E512D
secondary
#815783
accent
#63C5C2
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2E512D

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

Preview Lab → · Contrast checker → · Palette generator →

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