#2B762B#2B762B

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

Color values

HEX#2B762B
RGBrgb(43, 118, 43)
HSLhsl(120, 47%, 32%)
HSVhsv(120, 64%, 46%)
CMYKcmyk(63.6%, 0%, 63.6%, 53.7%)
CIE-LABlab(43.72, -39.11, 33.81)
CIE-LCHlch(43.72, 51.69, 139.16°)
OKLaboklab(50.18% -0.1062 0.0792)
OKLCHoklch(50.18% 0.133 143.3)
XYZxyz(7.9103, 13.6441, 4.5017)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B762B #762B76
analogous
#51762B #2B762B #2B7651
triadic
#2B762B #2B2B76 #762B2B
tetradic
#2B762B #2B5176 #762B76 #76512B
square
#2B762B #2B5176 #762B76 #76512B
split-complementary
#2B762B #512B76 #762B51
monochromatic
#0A1C0A #1B491B #2B762B #3BA33B #59C259

Accessibility & contrast

On white

5.63
#2B762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B762B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B762B#FFFFFF#000000##FFFFFF
##2B762B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B23
Deuteranopia (green-blind)
#6F6531
Tritanopia (blue-blind)
#1D7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2b762b;
/* rgb */ color: rgb(43, 118, 43);
/* oklch */ color: oklch(50.2% 0.133 143.3);
Tailwind
colors: {
  custom: {
    50: '#6e9e67',
    500: '#2b762b',
    950: '#000000',
  },
}
SCSS
$custom: #2b762b;
$custom-light: #6e9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b762b",
  "rgb": {
    "r": 43,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.13252,
    "h": 143.3
  },
  "luminance": 0.13645
}

Semantic roles & 50–950 ramp

primary
#2B762B
secondary
#A855A8
accent
#52D6D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2B762B

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

Preview Lab → · Contrast checker → · Palette generator →

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