#2B7921#2B7921

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

Color values

HEX#2B7921
RGBrgb(43, 121, 33)
HSLhsl(113, 57%, 30%)
HSVhsv(113, 73%, 47%)
CMYKcmyk(64.5%, 0%, 72.7%, 52.5%)
CIE-LABlab(44.66, -41.35, 39.39)
CIE-LCHlch(44.66, 57.11, 136.39°)
OKLaboklab(50.92% -0.1129 0.0899)
OKLCHoklch(50.92% 0.144 141.5)
XYZxyz(8.1077, 14.2974, 3.7709)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7921 #6F2179
analogous
#577921 #2B7921 #217943
triadic
#2B7921 #212B79 #79212B
tetradic
#2B7921 #215779 #6F2179 #794321
square
#2B7921 #215779 #6F2179 #794321
split-complementary
#2B7921 #432179 #792157
monochromatic
#091907 #1A4914 #2B7921 #3CA92E #57CD47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7921#FFFFFF#000000##FFFFFF
##2B79211.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)
#7C6E13
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#1E7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7921;
/* rgb */ color: rgb(43, 121, 33);
/* oklch */ color: oklch(50.9% 0.144 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa062',
    500: '#2b7921',
    950: '#000000',
  },
}
SCSS
$custom: #2b7921;
$custom-light: #6fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7921",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 33
  },
  "hsl": {
    "h": 113.182,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.14428,
    "h": 141.5
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#2B7921
secondary
#A14AAC
accent
#47E0CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #2B7921

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

Preview Lab → · Contrast checker → · Palette generator →

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