#2B7629#2B7629

#2B7629 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.134 H 142.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2B7629
RGBrgb(43, 118, 41)
HSLhsl(118, 48%, 31%)
HSVhsv(118, 65%, 46%)
CMYKcmyk(63.6%, 0%, 65.3%, 53.7%)
CIE-LABlab(43.70, -39.35, 34.75)
CIE-LCHlch(43.70, 52.49, 138.55°)
OKLaboklab(50.15% -0.107 0.081)
OKLCHoklch(50.15% 0.134 142.9)
XYZxyz(7.8745, 13.6298, 4.3132)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7629 #742976
analogous
#517629 #2B7629 #29764D
triadic
#2B7629 #292B76 #76292B
tetradic
#2B7629 #295176 #742976 #764D29
square
#2B7629 #295176 #742976 #764D29
split-complementary
#2B7629 #4D2976 #762951
monochromatic
#0A1B09 #1A4919 #2B7629 #3CA339 #58C455

Accessibility & contrast

On white

5.64
#2B7629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#2B7629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7629
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7629#FFFFFF#000000##FFFFFF
##2B76291.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B20
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#1D7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b7629;
/* rgb */ color: rgb(43, 118, 41);
/* oklch */ color: oklch(50.2% 0.134 142.9);
Tailwind
colors: {
  custom: {
    50: '#6e9e66',
    500: '#2b7629',
    950: '#000000',
  },
}
SCSS
$custom: #2b7629;
$custom-light: #6e9e66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7629",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 41
  },
  "hsl": {
    "h": 118.442,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.13422,
    "h": 142.9
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#2B7629
secondary
#A653A8
accent
#50D8D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B7629

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

Preview Lab → · Contrast checker → · Palette generator →

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