#2D7428#2D7428

#2D7428 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.131 H 142.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2D7428
RGBrgb(45, 116, 40)
HSLhsl(116, 49%, 31%)
HSVhsv(116, 66%, 45%)
CMYKcmyk(61.2%, 0%, 65.5%, 54.5%)
CIE-LABlab(43.06, -38.15, 34.54)
CIE-LCHlch(43.06, 51.46, 137.84°)
OKLaboklab(49.65% -0.1039 0.0805)
OKLCHoklch(49.65% 0.131 142.2)
XYZxyz(7.7102, 13.2012, 4.1488)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7428 #6F2874
analogous
#537428 #2D7428 #287449
triadic
#2D7428 #282D74 #74282D
tetradic
#2D7428 #285374 #6F2874 #744928
square
#2D7428 #285374 #6F2874 #744928
split-complementary
#2D7428 #492874 #742853
monochromatic
#0A1909 #1B4618 #2D7428 #3FA238 #5AC453

Accessibility & contrast

On white

5.77
#2D7428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2D7428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7428
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7428#FFFFFF#000000##FFFFFF
##2D74281.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691F
Deuteranopia (green-blind)
#6E632E
Tritanopia (blue-blind)
#227164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d7428;
/* rgb */ color: rgb(45, 116, 40);
/* oklch */ color: oklch(49.6% 0.131 142.2);
Tailwind
colors: {
  custom: {
    50: '#6e9d65',
    500: '#2d7428',
    950: '#000000',
  },
}
SCSS
$custom: #2d7428;
$custom-light: #6e9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7428",
  "rgb": {
    "r": 45,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 116.053,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.13142,
    "h": 142.2
  },
  "luminance": 0.13202
}

Semantic roles & 50–950 ramp

primary
#2D7428
secondary
#A152A6
accent
#50D8CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2D7428

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

Preview Lab → · Contrast checker → · Palette generator →

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