#2D631B#2D631B

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

Color values

HEX#2D631B
RGBrgb(45, 99, 27)
HSLhsl(105, 57%, 25%)
HSVhsv(105, 73%, 39%)
CMYKcmyk(54.5%, 0%, 72.7%, 61.2%)
CIE-LABlab(37.04, -32.44, 34.01)
CIE-LCHlch(37.04, 47.00, 133.65°)
OKLaboklab(44.64% -0.0893 0.0777)
OKLCHoklch(44.64% 0.118 139)
XYZxyz(5.7416, 9.5603, 2.5795)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D631B #511B63
analogous
#51631B #2D631B #1B632D
triadic
#2D631B #1B2D63 #631B2D
tetradic
#2D631B #1B5163 #511B63 #632D1B
square
#2D631B #1B5163 #511B63 #632D1B
split-complementary
#2D631B #2D1B63 #631B51
monochromatic
#0B1807 #17330E #2D631B #439328 #59C335

Accessibility & contrast

On white

7.21
#2D631B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D631B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D631B#FFFFFF#000000##FFFFFF
##2D631B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d631b;
/* rgb */ color: rgb(45, 99, 27);
/* oklch */ color: oklch(44.6% 0.118 139.0);
Tailwind
colors: {
  custom: {
    50: '#6c905c',
    500: '#2d631b',
    950: '#000000',
  },
}
SCSS
$custom: #2d631b;
$custom-light: #6c905c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d631b",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 27
  },
  "hsl": {
    "h": 105,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.44643,
    "c": 0.1184,
    "h": 139
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#2D631B
secondary
#834198
accent
#47E0BA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D631B

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

Preview Lab → · Contrast checker → · Palette generator →

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