#2E631A#2E631A

#2E631A is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.119 H 138.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2E631A
RGBrgb(46, 99, 26)
HSLhsl(104, 58%, 25%)
HSVhsv(104, 74%, 39%)
CMYKcmyk(53.5%, 0%, 73.7%, 61.2%)
CIE-LABlab(37.08, -32.21, 34.50)
CIE-LCHlch(37.08, 47.20, 133.03°)
OKLaboklab(44.68% -0.0888 0.0786)
OKLCHoklch(44.68% 0.119 138.5)
XYZxyz(5.7748, 9.5787, 2.5216)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E631A #4F1A63
analogous
#53631A #2E631A #1A632B
triadic
#2E631A #1A2E63 #631A2E
tetradic
#2E631A #1A5363 #4F1A63 #632B1A
square
#2E631A #1A5363 #4F1A63 #632B1A
split-complementary
#2E631A #2B1A63 #631A53
monochromatic
#0B1806 #17330D #2E631A #459327 #5BC433

Accessibility & contrast

On white

7.20
#2E631A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2E631A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E631A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E631A#FFFFFF#000000##FFFFFF
##2E631A1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0F
Deuteranopia (green-blind)
#5F5621
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e631a;
/* rgb */ color: rgb(46, 99, 26);
/* oklch */ color: oklch(44.7% 0.119 138.5);
Tailwind
colors: {
  custom: {
    50: '#6d905b',
    500: '#2e631a',
    950: '#000000',
  },
}
SCSS
$custom: #2e631a;
$custom-light: #6d905b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e631a",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 103.562,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.11861,
    "h": 138.5
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#2E631A
secondary
#804099
accent
#46E2B7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E631A

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

Preview Lab → · Contrast checker → · Palette generator →

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