#2B631D#2B631D

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

Color values

HEX#2B631D
RGBrgb(43, 99, 29)
HSLhsl(108, 55%, 25%)
HSVhsv(108, 71%, 39%)
CMYKcmyk(56.6%, 0%, 70.7%, 61.2%)
CIE-LABlab(36.98, -32.87, 33.01)
CIE-LCHlch(36.98, 46.58, 134.88°)
OKLaboklab(44.57% -0.0902 0.0759)
OKLCHoklch(44.57% 0.118 139.9)
XYZxyz(5.6796, 9.5255, 2.7015)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B631D #551D63
analogous
#4E631D #2B631D #1D6332
triadic
#2B631D #1D2B63 #631D2B
tetradic
#2B631D #1D4E63 #551D63 #63321D
square
#2B631D #1D4E63 #551D63 #63321D
split-complementary
#2B631D #321D63 #631D4E
monochromatic
#0A1807 #16340F #2B631D #40922B #54C239

Accessibility & contrast

On white

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

On black

2.91
#2B631D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B631D#FFFFFF#000000##FFFFFF
##2B631D1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A14
Deuteranopia (green-blind)
#5F5523
Tritanopia (blue-blind)
#256055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b631d;
/* rgb */ color: rgb(43, 99, 29);
/* oklch */ color: oklch(44.6% 0.118 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b905d',
    500: '#2b631d',
    950: '#000000',
  },
}
SCSS
$custom: #2b631d;
$custom-light: #6b905d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b631d",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 29
  },
  "hsl": {
    "h": 108,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44573,
    "c": 0.11789,
    "h": 139.9
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#2B631D
secondary
#874498
accent
#4ADEC0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B631D

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

Preview Lab → · Contrast checker → · Palette generator →

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