#2B7219#2B7219

#2B7219 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.141 H 140.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2B7219
RGBrgb(43, 114, 25)
HSLhsl(108, 64%, 27%)
HSVhsv(108, 78%, 45%)
CMYKcmyk(62.3%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.18, -39.33, 40.07)
CIE-LCHlch(42.18, 56.15, 134.47°)
OKLaboklab(48.86% -0.1079 0.0901)
OKLCHoklch(48.86% 0.141 140.1)
XYZxyz(7.1887, 12.6178, 2.9762)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7219 #601972
analogous
#587219 #2B7219 #197233
triadic
#2B7219 #192B72 #72192B
tetradic
#2B7219 #195872 #601972 #723319
square
#2B7219 #195872 #601972 #723319
split-complementary
#2B7219 #331972 #721958
monochromatic
#091906 #18400E #2B7219 #3EA424 #53D233

Accessibility & contrast

On white

5.96
#2B7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2B7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7219
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7219#FFFFFF#000000##FFFFFF
##2B72191.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#226E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7219;
/* rgb */ color: rgb(43, 114, 25);
/* oklch */ color: oklch(48.9% 0.141 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9b5d',
    500: '#2b7219',
    950: '#000000',
  },
}
SCSS
$custom: #2b7219;
$custom-light: #6e9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7219",
  "rgb": {
    "r": 43,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 107.865,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48857,
    "c": 0.14061,
    "h": 140.1
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#2B7219
secondary
#9240A7
accent
#41E7C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7219

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

Preview Lab → · Contrast checker → · Palette generator →

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