#2B702D#2B702D

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

Color values

HEX#2B702D
RGBrgb(43, 112, 45)
HSLhsl(122, 45%, 30%)
HSVhsv(122, 62%, 44%)
CMYKcmyk(61.6%, 0%, 59.8%, 56.1%)
CIE-LABlab(41.67, -36.41, 30.44)
CIE-LCHlch(41.67, 47.46, 140.11°)
OKLaboklab(48.5% -0.0988 0.0722)
OKLCHoklch(48.5% 0.122 143.9)
XYZxyz(7.2637, 12.2907, 4.4717)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B702D #702B6E
analogous
#4B702B #2B702D #2B704F
triadic
#2B702D #2D2B70 #702D2B
tetradic
#2B702D #2B4B70 #702B6E #704F2B
square
#2B702D #2B4B70 #702B6E #704F2B
split-complementary
#2B702D #4F2B70 #702B4B
monochromatic
#091809 #1A441B #2B702D #3C9C3F #57BE5A

Accessibility & contrast

On white

6.07
#2B702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B702D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B702D#FFFFFF#000000##FFFFFF
##2B702D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726626
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#1E6D61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b702d;
/* rgb */ color: rgb(43, 112, 45);
/* oklch */ color: oklch(48.5% 0.122 143.9);
Tailwind
colors: {
  custom: {
    50: '#6c9a68',
    500: '#2b702d',
    950: '#000000',
  },
}
SCSS
$custom: #2b702d;
$custom-light: #6c9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#2b702d",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 121.739,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.48498,
    "c": 0.12237,
    "h": 143.9
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#2B702D
secondary
#A255A0
accent
#54D1D4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #2B702D

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

Preview Lab → · Contrast checker → · Palette generator →

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