#2B702B#2B702B

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

Color values

HEX#2B702B
RGBrgb(43, 112, 43)
HSLhsl(120, 45%, 30%)
HSVhsv(120, 62%, 44%)
CMYKcmyk(61.6%, 0%, 61.6%, 56.1%)
CIE-LABlab(41.65, -36.68, 31.43)
CIE-LCHlch(41.65, 48.30, 139.41°)
OKLaboklab(48.47% -0.0997 0.0741)
OKLCHoklch(48.47% 0.124 143.4)
XYZxyz(7.2261, 12.2757, 4.2737)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B702B #702B70
analogous
#4D702B #2B702B #2B704D
triadic
#2B702B #2B2B70 #702B2B
tetradic
#2B702B #2B4D70 #702B70 #704D2B
square
#2B702B #2B4D70 #702B70 #704D2B
split-complementary
#2B702B #4D2B70 #702B4D
monochromatic
#091809 #1A441A #2B702B #3C9C3C #57BE57

Accessibility & contrast

On white

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

On black

3.46
#2B702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B702B#FFFFFF#000000##FFFFFF
##2B702B1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b702b;
/* rgb */ color: rgb(43, 112, 43);
/* oklch */ color: oklch(48.5% 0.124 143.4);
Tailwind
colors: {
  custom: {
    50: '#6c9a67',
    500: '#2b702b',
    950: '#000000',
  },
}
SCSS
$custom: #2b702b;
$custom-light: #6c9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2b702b",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 120,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.1242,
    "h": 143.4
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#2B702B
secondary
#A255A2
accent
#54D4D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B702B

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

Preview Lab → · Contrast checker → · Palette generator →

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