#2B7429#2B7429

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

Color values

HEX#2B7429
RGBrgb(43, 116, 41)
HSLhsl(118, 48%, 31%)
HSVhsv(118, 65%, 45%)
CMYKcmyk(62.9%, 0%, 64.7%, 54.5%)
CIE-LABlab(43.01, -38.55, 33.97)
CIE-LCHlch(43.01, 51.38, 138.61°)
OKLaboklab(49.58% -0.1048 0.0794)
OKLCHoklch(49.58% 0.131 142.9)
XYZxyz(7.6415, 13.1638, 4.2356)
Luminance0.1316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7429 #722974
analogous
#507429 #2B7429 #29744C
triadic
#2B7429 #292B74 #74292B
tetradic
#2B7429 #295074 #722974 #744C29
square
#2B7429 #295074 #722974 #744C29
split-complementary
#2B7429 #4C2974 #742950
monochromatic
#091A09 #1A4719 #2B7429 #3CA139 #58C355

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7429#FFFFFF#000000##FFFFFF
##2B74291.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)
#776921
Deuteranopia (green-blind)
#6D632F
Tritanopia (blue-blind)
#1E7164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7429;
/* rgb */ color: rgb(43, 116, 41);
/* oklch */ color: oklch(49.6% 0.131 142.9);
Tailwind
colors: {
  custom: {
    50: '#6d9d66',
    500: '#2b7429',
    950: '#000000',
  },
}
SCSS
$custom: #2b7429;
$custom-light: #6d9d66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7429",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 118.4,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.13149,
    "h": 142.9
  },
  "luminance": 0.13164
}

Semantic roles & 50–950 ramp

primary
#2B7429
secondary
#A453A6
accent
#50D7D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7429

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

Preview Lab → · Contrast checker → · Palette generator →

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