#2D6421#2D6421

#2D6421 is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.115 H 140.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2D6421
RGBrgb(45, 100, 33)
HSLhsl(109, 50%, 26%)
HSVhsv(109, 67%, 39%)
CMYKcmyk(55%, 0%, 67%, 60.8%)
CIE-LABlab(37.45, -32.25, 31.64)
CIE-LCHlch(37.45, 45.18, 135.54°)
OKLaboklab(45% -0.0884 0.0735)
OKLCHoklch(45% 0.115 140.2)
XYZxyz(5.9136, 9.7816, 3.0150)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6421 #582164
analogous
#4E6421 #2D6421 #216436
triadic
#2D6421 #212D64 #64212D
tetradic
#2D6421 #214E64 #582164 #643621
square
#2D6421 #214E64 #582164 #643621
split-complementary
#2D6421 #362164 #64214E
monochromatic
#0A1708 #183612 #2D6421 #429230 #57C040

Accessibility & contrast

On white

7.10
#2D6421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2D6421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6421
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6421#FFFFFF#000000##FFFFFF
##2D64211.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B19
Deuteranopia (green-blind)
#605627
Tritanopia (blue-blind)
#276156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d6421;
/* rgb */ color: rgb(45, 100, 33);
/* oklch */ color: oklch(45.0% 0.115 140.2);
Tailwind
colors: {
  custom: {
    50: '#6c915f',
    500: '#2d6421',
    950: '#000000',
  },
}
SCSS
$custom: #2d6421;
$custom-light: #6c915f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6421",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 33
  },
  "hsl": {
    "h": 109.254,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.11495,
    "h": 140.2
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#2D6421
secondary
#8A4998
accent
#4EDAC1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D05
muted
#7A7D79

Preview Lab

Preview with #2D6421

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

Preview Lab → · Contrast checker → · Palette generator →

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