#2D6022#2D6022

#2D6022 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.108 H 140.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2D6022
RGBrgb(45, 96, 34)
HSLhsl(109, 48%, 25%)
HSVhsv(109, 65%, 38%)
CMYKcmyk(53.1%, 0%, 64.6%, 62.4%)
CIE-LABlab(36.06, -30.37, 29.59)
CIE-LCHlch(36.06, 42.40, 135.75°)
OKLaboklab(43.86% -0.0832 0.0692)
OKLCHoklch(43.86% 0.108 140.2)
XYZxyz(5.5536, 9.0387, 2.9651)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6022 #552260
analogous
#4C6022 #2D6022 #226036
triadic
#2D6022 #222D60 #60222D
tetradic
#2D6022 #224C60 #552260 #603622
square
#2D6022 #224C60 #552260 #603622
split-complementary
#2D6022 #362260 #60224C
monochromatic
#0B1708 #183312 #2D6022 #428D32 #57BA42

Accessibility & contrast

On white

7.48
#2D6022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D6022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6022
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6022#FFFFFF#000000##FFFFFF
##2D60221.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581B
Deuteranopia (green-blind)
#5C5327
Tritanopia (blue-blind)
#285D53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d6022;
/* rgb */ color: rgb(45, 96, 34);
/* oklch */ color: oklch(43.9% 0.108 140.2);
Tailwind
colors: {
  custom: {
    50: '#6b8e60',
    500: '#2d6022',
    950: '#000000',
  },
}
SCSS
$custom: #2d6022;
$custom-light: #6b8e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6022",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 34
  },
  "hsl": {
    "h": 109.355,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43857,
    "c": 0.10824,
    "h": 140.2
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#2D6022
secondary
#874A94
accent
#51D7BF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D6022

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

Preview Lab → · Contrast checker → · Palette generator →

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