#2D631A#2D631A

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

Color values

HEX#2D631A
RGBrgb(45, 99, 26)
HSLhsl(104, 58%, 25%)
HSVhsv(104, 74%, 39%)
CMYKcmyk(54.5%, 0%, 73.7%, 61.2%)
CIE-LABlab(37.03, -32.53, 34.44)
CIE-LCHlch(37.03, 47.38, 133.37°)
OKLaboklab(44.63% -0.0896 0.0785)
OKLCHoklch(44.63% 0.119 138.8)
XYZxyz(5.7303, 9.5557, 2.5196)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D631A #501A63
analogous
#52631A #2D631A #1A632C
triadic
#2D631A #1A2D63 #631A2D
tetradic
#2D631A #1A5263 #501A63 #632C1A
square
#2D631A #1A5263 #501A63 #632C1A
split-complementary
#2D631A #2C1A63 #631A52
monochromatic
#0B1806 #17330D #2D631A #439327 #59C433

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D631A#FFFFFF#000000##FFFFFF
##2D631A1.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)
#665A0F
Deuteranopia (green-blind)
#5F5521
Tritanopia (blue-blind)
#285F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d631a;
/* rgb */ color: rgb(45, 99, 26);
/* oklch */ color: oklch(44.6% 0.119 138.8);
Tailwind
colors: {
  custom: {
    50: '#6c905b',
    500: '#2d631a',
    950: '#000000',
  },
}
SCSS
$custom: #2d631a;
$custom-light: #6c905b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d631a",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 104.384,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.11915,
    "h": 138.8
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#2D631A
secondary
#824099
accent
#46E2B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D631A

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

Preview Lab → · Contrast checker → · Palette generator →

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