#2B701B#2B701B

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

Color values

HEX#2B701B
RGBrgb(43, 112, 27)
HSLhsl(109, 61%, 27%)
HSVhsv(109, 76%, 44%)
CMYKcmyk(61.6%, 0%, 75.9%, 56.1%)
CIE-LABlab(41.50, -38.39, 38.60)
CIE-LCHlch(41.50, 54.44, 134.84°)
OKLaboklab(48.3% -0.1052 0.0874)
OKLCHoklch(48.3% 0.137 140.3)
XYZxyz(6.9879, 12.1804, 3.0195)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B701B #601B70
analogous
#56701B #2B701B #1B7036
triadic
#2B701B #1B2B70 #701B2B
tetradic
#2B701B #1B5670 #601B70 #70361B
square
#2B701B #1B5670 #601B70 #70361B
split-complementary
#2B701B #361B70 #701B56
monochromatic
#091906 #183F0F #2B701B #3EA127 #53CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B701B#FFFFFF#000000##FFFFFF
##2B701B1.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)
#73650C
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#226C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b701b;
/* rgb */ color: rgb(43, 112, 27);
/* oklch */ color: oklch(48.3% 0.137 140.3);
Tailwind
colors: {
  custom: {
    50: '#6d9a5d',
    500: '#2b701b',
    950: '#000000',
  },
}
SCSS
$custom: #2b701b;
$custom-light: #6d9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b701b",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 108.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.13679,
    "h": 140.3
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#2B701B
secondary
#9242A5
accent
#44E4C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #2B701B

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

Preview Lab → · Contrast checker → · Palette generator →

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