#2E5C17#2E5C17

#2E5C17 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.111 H 137.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E5C17
RGBrgb(46, 92, 23)
HSLhsl(100, 60%, 23%)
HSVhsv(100, 75%, 36%)
CMYKcmyk(50%, 0%, 75%, 63.9%)
CIE-LABlab(34.59, -29.38, 33.23)
CIE-LCHlch(34.59, 44.36, 131.48°)
OKLaboklab(42.63% -0.0814 0.0755)
OKLCHoklch(42.63% 0.111 137.1)
XYZxyz(5.1084, 8.2967, 2.1427)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C17 #45175C
analogous
#505C17 #2E5C17 #175C22
triadic
#2E5C17 #172E5C #5C172E
tetradic
#2E5C17 #17505C #45175C #5C2217
square
#2E5C17 #17505C #45175C #5C2217
split-complementary
#2E5C17 #22175C #5C1750
monochromatic
#0C1806 #162B0B #2E5C17 #468D23 #5FBE2F

Accessibility & contrast

On white

7.90
#2E5C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E5C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C17
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C17#FFFFFF#000000##FFFFFF
##2E5C171.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540C
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#2B594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c17;
/* rgb */ color: rgb(46, 92, 23);
/* oklch */ color: oklch(42.6% 0.111 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8a59',
    500: '#2e5c17',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c17;
$custom-light: #6c8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c17",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 100,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42633,
    "c": 0.11104,
    "h": 137.1
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#2E5C17
secondary
#763C93
accent
#45E3AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E5C17

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

Preview Lab → · Contrast checker → · Palette generator →

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