#2D6428#2D6428

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

Color values

HEX#2D6428
RGBrgb(45, 100, 40)
HSLhsl(115, 43%, 27%)
HSVhsv(115, 60%, 39%)
CMYKcmyk(55%, 0%, 60%, 60.8%)
CIE-LABlab(37.53, -31.39, 28.18)
CIE-LCHlch(37.53, 42.18, 138.08°)
OKLaboklab(45.09% -0.0856 0.0668)
OKLCHoklch(45.09% 0.109 142)
XYZxyz(6.0221, 9.8250, 3.5861)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6428 #5F2864
analogous
#4B6428 #2D6428 #286441
triadic
#2D6428 #282D64 #64282D
tetradic
#2D6428 #284B64 #5F2864 #644128
square
#2D6428 #284B64 #5F2864 #644128
split-complementary
#2D6428 #412864 #64284B
monochromatic
#0A1609 #193817 #2D6428 #419039 #57B84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6428#FFFFFF#000000##FFFFFF
##2D64281.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)
#665B22
Deuteranopia (green-blind)
#5F562D
Tritanopia (blue-blind)
#266157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d6428;
/* rgb */ color: rgb(45, 100, 40);
/* oklch */ color: oklch(45.1% 0.109 142.0);
Tailwind
colors: {
  custom: {
    50: '#6b9164',
    500: '#2d6428',
    950: '#000000',
  },
}
SCSS
$custom: #2d6428;
$custom-light: #6b9164;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6428",
  "rgb": {
    "r": 45,
    "g": 100,
    "b": 40
  },
  "hsl": {
    "h": 115,
    "s": 42.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.45086,
    "c": 0.10857,
    "h": 142
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#2D6428
secondary
#915197
accent
#55D3C8
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070D05
muted
#7A7D7A

Preview Lab

Preview with #2D6428

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

Preview Lab → · Contrast checker → · Palette generator →

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