#2B701E#2B701E

#2B701E is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.135 H 140.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2B701E
RGBrgb(43, 112, 30)
HSLhsl(110, 58%, 28%)
HSVhsv(110, 73%, 44%)
CMYKcmyk(61.6%, 0%, 73.2%, 56.1%)
CIE-LABlab(41.52, -38.12, 37.38)
CIE-LCHlch(41.52, 53.39, 135.56°)
OKLaboklab(48.33% -0.1043 0.0853)
OKLCHoklch(48.33% 0.135 140.7)
XYZxyz(7.0244, 12.1950, 3.2117)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B701E #631E70
analogous
#54701E #2B701E #1E703A
triadic
#2B701E #1E2B70 #701E2B
tetradic
#2B701E #1E5470 #631E70 #703A1E
square
#2B701E #1E5470 #631E70 #703A1E
split-complementary
#2B701E #3A1E70 #701E54
monochromatic
#091806 #184011 #2B701E #3EA02B #54CB3D

Accessibility & contrast

On white

6.11
#2B701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2B701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B701E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B701E#FFFFFF#000000##FFFFFF
##2B701E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736511
Deuteranopia (green-blind)
#6A6026
Tritanopia (blue-blind)
#216C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b701e;
/* rgb */ color: rgb(43, 112, 30);
/* oklch */ color: oklch(48.3% 0.135 140.7);
Tailwind
colors: {
  custom: {
    50: '#6d9a5f',
    500: '#2b701e',
    950: '#000000',
  },
}
SCSS
$custom: #2b701e;
$custom-light: #6d9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b701e",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 110.488,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.13474,
    "h": 140.7
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#2B701E
secondary
#9546A4
accent
#47E1C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B701E

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

Preview Lab → · Contrast checker → · Palette generator →

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