#2B702A#2B702A

#2B702A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.125 H 143.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2B702A
RGBrgb(43, 112, 42)
HSLhsl(119, 45%, 30%)
HSVhsv(119, 63%, 44%)
CMYKcmyk(61.6%, 0%, 62.5%, 56.1%)
CIE-LABlab(41.64, -36.81, 31.92)
CIE-LCHlch(41.64, 48.72, 139.07°)
OKLaboklab(48.46% -0.1001 0.0751)
OKLCHoklch(48.46% 0.125 143.1)
XYZxyz(7.2080, 12.2684, 4.1782)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B702A #6F2A70
analogous
#4E702A #2B702A #2A704C
triadic
#2B702A #2A2B70 #702A2B
tetradic
#2B702A #2A4E70 #6F2A70 #704C2A
square
#2B702A #2A4E70 #6F2A70 #704C2A
split-complementary
#2B702A #4C2A70 #702A4E
monochromatic
#091709 #1A4319 #2B702A #3C9D3B #57BF55

Accessibility & contrast

On white

6.08
#2B702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2B702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B702A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B702A#FFFFFF#000000##FFFFFF
##2B702A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726623
Deuteranopia (green-blind)
#6A6030
Tritanopia (blue-blind)
#1F6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b702a;
/* rgb */ color: rgb(43, 112, 42);
/* oklch */ color: oklch(48.5% 0.125 143.1);
Tailwind
colors: {
  custom: {
    50: '#6d9a66',
    500: '#2b702a',
    950: '#000000',
  },
}
SCSS
$custom: #2b702a;
$custom-light: #6d9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#2b702a",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 119.143,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.1251,
    "h": 143.1
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#2B702A
secondary
#A154A2
accent
#53D5D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B702A

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

Preview Lab → · Contrast checker → · Palette generator →

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