#2D642A#2D642A

#2D642A is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.107 H 142.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2D642A
RGBrgb(45, 100, 42)
HSLhsl(117, 41%, 28%)
HSVhsv(117, 58%, 39%)
CMYKcmyk(55%, 0%, 58%, 60.8%)
CIE-LABlab(37.55, -31.11, 27.14)
CIE-LCHlch(37.55, 41.29, 138.90°)
OKLaboklab(45.12% -0.0847 0.0647)
OKLCHoklch(45.12% 0.107 142.6)
XYZxyz(6.0570, 9.8389, 3.7700)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D642A #612A64
analogous
#4A642A #2D642A #2A6444
triadic
#2D642A #2A2D64 #642A2D
tetradic
#2D642A #2A4A64 #612A64 #64442A
square
#2D642A #2A4A64 #612A64 #64442A
split-complementary
#2D642A #442A64 #642A4A
monochromatic
#0A1609 #1A3918 #2D642A #408F3C #57B652

Accessibility & contrast

On white

7.08
#2D642A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2D642A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D642A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D642A#FFFFFF#000000##FFFFFF
##2D642A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B25
Deuteranopia (green-blind)
#5F562E
Tritanopia (blue-blind)
#266157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d642a;
/* rgb */ color: rgb(45, 100, 42);
/* oklch */ color: oklch(45.1% 0.107 142.6);
Tailwind
colors: {
  custom: {
    50: '#6b9165',
    500: '#2d642a',
    950: '#000000',
  },
}
SCSS
$custom: #2d642a;
$custom-light: #6b9165;
$custom-dark: #000000;
JSON
{
  "hex": "#2d642a",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 116.897,
    "s": 40.845,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.10661,
    "h": 142.6
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#2D642A
secondary
#935396
accent
#57D1CA
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070D06
muted
#7A7D7A

Preview Lab

Preview with #2D642A

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

Preview Lab → · Contrast checker → · Palette generator →

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