#2B7428#2B7428

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

Color values

HEX#2B7428
RGBrgb(43, 116, 40)
HSLhsl(118, 49%, 31%)
HSVhsv(118, 66%, 45%)
CMYKcmyk(62.9%, 0%, 65.5%, 54.5%)
CIE-LABlab(43.00, -38.67, 34.44)
CIE-LCHlch(43.00, 51.78, 138.31°)
OKLaboklab(49.57% -0.1052 0.0803)
OKLCHoklch(49.57% 0.132 142.7)
XYZxyz(7.6242, 13.1569, 4.1448)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7428 #712874
analogous
#517428 #2B7428 #28744B
triadic
#2B7428 #282B74 #74282B
tetradic
#2B7428 #285174 #712874 #744B28
square
#2B7428 #285174 #712874 #744B28
split-complementary
#2B7428 #4B2874 #742851
monochromatic
#091909 #1A4618 #2B7428 #3CA238 #57C453

Accessibility & contrast

On white

5.78
#2B7428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2B7428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7428
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7428#FFFFFF#000000##FFFFFF
##2B74281.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77691F
Deuteranopia (green-blind)
#6D632E
Tritanopia (blue-blind)
#1E7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7428;
/* rgb */ color: rgb(43, 116, 40);
/* oklch */ color: oklch(49.6% 0.132 142.7);
Tailwind
colors: {
  custom: {
    50: '#6d9d65',
    500: '#2b7428',
    950: '#000000',
  },
}
SCSS
$custom: #2b7428;
$custom-light: #6d9d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7428",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 117.632,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.13234,
    "h": 142.7
  },
  "luminance": 0.13158
}

Semantic roles & 50–950 ramp

primary
#2B7428
secondary
#A352A6
accent
#50D8D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7428

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

Preview Lab → · Contrast checker → · Palette generator →

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