#2B7B19#2B7B19

#2B7B19 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.152 H 140.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2B7B19
RGBrgb(43, 123, 25)
HSLhsl(109, 66%, 29%)
HSVhsv(109, 80%, 48%)
CMYKcmyk(65%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.29, -42.75, 43.12)
CIE-LCHlch(45.29, 60.72, 134.76°)
OKLaboklab(51.43% -0.1171 0.0965)
OKLCHoklch(51.43% 0.152 140.5)
XYZxyz(8.2543, 14.7489, 3.3313)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7B19 #69197B
analogous
#5C7B19 #2B7B19 #197B38
triadic
#2B7B19 #192B7B #7B192B
tetradic
#2B7B19 #195C7B #69197B #7B3819
square
#2B7B19 #195C7B #69197B #7B3819
split-complementary
#2B7B19 #38197B #7B195C
monochromatic
#091905 #19480F #2B7B19 #3DAE23 #55D738

Accessibility & contrast

On white

5.32
#2B7B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B7B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7B19
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7B19#FFFFFF#000000##FFFFFF
##2B7B191.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#1F7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7b19;
/* rgb */ color: rgb(43, 123, 25);
/* oklch */ color: oklch(51.4% 0.152 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a25e',
    500: '#2b7b19',
    950: '#000000',
  },
}
SCSS
$custom: #2b7b19;
$custom-light: #70a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7b19",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 108.98,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.15177,
    "h": 140.5
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#2B7B19
secondary
#9B40AF
accent
#3FE9CA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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