#2D6123#2D6123

#2D6123 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.109 H 140.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2D6123
RGBrgb(45, 97, 35)
HSLhsl(110, 47%, 26%)
HSVhsv(110, 64%, 38%)
CMYKcmyk(53.6%, 0%, 63.9%, 62%)
CIE-LABlab(36.42, -30.70, 29.49)
CIE-LCHlch(36.42, 42.57, 136.15°)
OKLaboklab(44.16% -0.084 0.0691)
OKLCHoklch(44.16% 0.109 140.5)
XYZxyz(5.6600, 9.2282, 3.0727)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6123 #572361
analogous
#4C6123 #2D6123 #236138
triadic
#2D6123 #232D61 #61232D
tetradic
#2D6123 #234C61 #572361 #613823
square
#2D6123 #234C61 #572361 #613823
split-complementary
#2D6123 #382361 #61234C
monochromatic
#0A1608 #183413 #2D6123 #428E33 #57BB43

Accessibility & contrast

On white

7.38
#2D6123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D6123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6123
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6123#FFFFFF#000000##FFFFFF
##2D61231.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581C
Deuteranopia (green-blind)
#5D5428
Tritanopia (blue-blind)
#285E54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6123;
/* rgb */ color: rgb(45, 97, 35);
/* oklch */ color: oklch(44.2% 0.109 140.5);
Tailwind
colors: {
  custom: {
    50: '#6b8e60',
    500: '#2d6123',
    950: '#000000',
  },
}
SCSS
$custom: #2d6123;
$custom-light: #6b8e60;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6123",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 110.323,
    "s": 46.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44158,
    "c": 0.1088,
    "h": 140.5
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#2D6123
secondary
#894B95
accent
#51D7C1
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2D6123

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

Preview Lab → · Contrast checker → · Palette generator →

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