#2B631B#2B631B

#2B631B is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.119 H 139.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2B631B
RGBrgb(43, 99, 27)
HSLhsl(107, 57%, 25%)
HSVhsv(107, 73%, 39%)
CMYKcmyk(56.6%, 0%, 72.7%, 61.2%)
CIE-LABlab(36.96, -33.07, 33.90)
CIE-LCHlch(36.96, 47.36, 134.29°)
OKLaboklab(44.55% -0.0909 0.0775)
OKLCHoklch(44.55% 0.119 139.5)
XYZxyz(5.6557, 9.5160, 2.5754)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B631B #531B63
analogous
#4F631B #2B631B #1B632F
triadic
#2B631B #1B2B63 #631B2B
tetradic
#2B631B #1B4F63 #531B63 #632F1B
square
#2B631B #1B4F63 #531B63 #632F1B
split-complementary
#2B631B #2F1B63 #631B4F
monochromatic
#0A1807 #16330E #2B631B #409328 #55C335

Accessibility & contrast

On white

7.23
#2B631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B631B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B631B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B631B#FFFFFF#000000##FFFFFF
##2B631B1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#5F5522
Tritanopia (blue-blind)
#256054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b631b;
/* rgb */ color: rgb(43, 99, 27);
/* oklch */ color: oklch(44.6% 0.119 139.5);
Tailwind
colors: {
  custom: {
    50: '#6b905c',
    500: '#2b631b',
    950: '#000000',
  },
}
SCSS
$custom: #2b631b;
$custom-light: #6b905c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b631b",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 106.667,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.11944,
    "h": 139.5
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#2B631B
secondary
#854198
accent
#47E0BE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B631B

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

Preview Lab → · Contrast checker → · Palette generator →

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