#2E631B#2E631B

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

Color values

HEX#2E631B
RGBrgb(46, 99, 27)
HSLhsl(104, 57%, 25%)
HSVhsv(104, 73%, 39%)
CMYKcmyk(53.5%, 0%, 72.7%, 61.2%)
CIE-LABlab(37.08, -32.12, 34.07)
CIE-LCHlch(37.08, 46.82, 133.31°)
OKLaboklab(44.69% -0.0885 0.0779)
OKLCHoklch(44.69% 0.118 138.7)
XYZxyz(5.7862, 9.5832, 2.5815)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E631B #501B63
analogous
#52631B #2E631B #1B632C
triadic
#2E631B #1B2E63 #631B2E
tetradic
#2E631B #1B5263 #501B63 #632C1B
square
#2E631B #1B5263 #501B63 #632C1B
split-complementary
#2E631B #2C1B63 #631B52
monochromatic
#0B1807 #18330E #2E631B #449328 #5BC335

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E631B#FFFFFF#000000##FFFFFF
##2E631B1.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)
#665A11
Deuteranopia (green-blind)
#5F5622
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e631b;
/* rgb */ color: rgb(46, 99, 27);
/* oklch */ color: oklch(44.7% 0.118 138.7);
Tailwind
colors: {
  custom: {
    50: '#6c905c',
    500: '#2e631b',
    950: '#000000',
  },
}
SCSS
$custom: #2e631b;
$custom-light: #6c905c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e631b",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 104.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.11787,
    "h": 138.7
  },
  "luminance": 0.09584
}

Semantic roles & 50–950 ramp

primary
#2E631B
secondary
#814198
accent
#47E0B8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2E631B

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

Preview Lab → · Contrast checker → · Palette generator →

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