#2E512C#2E512C

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

Color values

HEX#2E512C
RGBrgb(46, 81, 44)
HSLhsl(117, 30%, 25%)
HSVhsv(117, 46%, 32%)
CMYKcmyk(43.2%, 0%, 45.7%, 68.2%)
CIE-LABlab(30.99, -21.35, 17.87)
CIE-LCHlch(30.99, 27.84, 140.06°)
OKLaboklab(39.77% -0.0582 0.044)
OKLCHoklch(39.77% 0.073 142.9)
XYZxyz(4.5236, 6.6473, 3.4271)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E512C #4F2C51
analogous
#41512C #2E512C #2C513D
triadic
#2E512C #2C2E51 #512C2E
tetradic
#2E512C #2C4151 #4F2C51 #513D2C
square
#2E512C #2C4151 #4F2C51 #513D2C
split-complementary
#2E512C #3D2C51 #512C41
monochromatic
#0B140B #172916 #2E512C #457942 #5BA057

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E512C#FFFFFF#000000##FFFFFF
##2E512C1.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)
#534B29
Deuteranopia (green-blind)
#4D482E
Tritanopia (blue-blind)
#2A4F48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e512c;
/* rgb */ color: rgb(46, 81, 44);
/* oklch */ color: oklch(39.8% 0.073 142.9);
Tailwind
colors: {
  custom: {
    50: '#698265',
    500: '#2e512c',
    950: '#000000',
  },
}
SCSS
$custom: #2e512c;
$custom-light: #698265;
$custom-dark: #000000;
JSON
{
  "hex": "#2e512c",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 116.757,
    "s": 29.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.07294,
    "h": 142.9
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#2E512C
secondary
#805683
accent
#62C6C0
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2E512C

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

Preview Lab → · Contrast checker → · Palette generator →

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