#2E631C#2E631C

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

Color values

HEX#2E631C
RGBrgb(46, 99, 28)
HSLhsl(105, 56%, 25%)
HSVhsv(105, 72%, 39%)
CMYKcmyk(53.5%, 0%, 71.7%, 61.2%)
CIE-LABlab(37.09, -32.02, 33.63)
CIE-LCHlch(37.09, 46.43, 133.60°)
OKLaboklab(44.7% -0.0882 0.0771)
OKLCHoklch(44.7% 0.117 138.8)
XYZxyz(5.7979, 9.5879, 2.6435)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E631C #511C63
analogous
#51631C #2E631C #1C632E
triadic
#2E631C #1C2E63 #631C2E
tetradic
#2E631C #1C5163 #511C63 #632E1C
square
#2E631C #1C5163 #511C63 #632E1C
split-complementary
#2E631C #2E1C63 #631C51
monochromatic
#0B1807 #18330F #2E631C #449329 #5AC237

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E631C#FFFFFF#000000##FFFFFF
##2E631C1.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)
#665A12
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#296055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e631c;
/* rgb */ color: rgb(46, 99, 28);
/* oklch */ color: oklch(44.7% 0.117 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c905c',
    500: '#2e631c',
    950: '#000000',
  },
}
SCSS
$custom: #2e631c;
$custom-light: #6c905c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e631c",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 28
  },
  "hsl": {
    "h": 104.789,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.447,
    "c": 0.1171,
    "h": 138.8
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#2E631C
secondary
#834398
accent
#49DFB9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E631C

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

Preview Lab → · Contrast checker → · Palette generator →

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