#2B7922#2B7922

#2B7922 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.144 H 141.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2B7922
RGBrgb(43, 121, 34)
HSLhsl(114, 56%, 30%)
HSVhsv(114, 72%, 47%)
CMYKcmyk(64.5%, 0%, 71.9%, 52.5%)
CIE-LABlab(44.66, -41.26, 38.97)
CIE-LCHlch(44.66, 56.75, 136.63°)
OKLaboklab(50.93% -0.1126 0.0891)
OKLCHoklch(50.93% 0.144 141.6)
XYZxyz(8.1219, 14.3031, 3.8458)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7922 #702279
analogous
#567922 #2B7922 #227944
triadic
#2B7922 #222B79 #79222B
tetradic
#2B7922 #225679 #702279 #794422
square
#2B7922 #225679 #702279 #794422
split-complementary
#2B7922 #442279 #792256
monochromatic
#091907 #1A4915 #2B7922 #3CA92F #57CC49

Accessibility & contrast

On white

5.44
#2B7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2B7922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7922
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7922#FFFFFF#000000##FFFFFF
##2B79221.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#1E7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7922;
/* rgb */ color: rgb(43, 121, 34);
/* oklch */ color: oklch(50.9% 0.144 141.6);
Tailwind
colors: {
  custom: {
    50: '#6fa062',
    500: '#2b7922',
    950: '#000000',
  },
}
SCSS
$custom: #2b7922;
$custom-light: #6fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7922",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 113.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.14357,
    "h": 141.6
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#2B7922
secondary
#A24BAC
accent
#48DFD0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2B7922

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

Preview Lab → · Contrast checker → · Palette generator →

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