#2B701C#2B701C

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

Color values

HEX#2B701C
RGBrgb(43, 112, 28)
HSLhsl(109, 60%, 27%)
HSVhsv(109, 75%, 44%)
CMYKcmyk(61.6%, 0%, 75%, 56.1%)
CIE-LABlab(41.51, -38.30, 38.20)
CIE-LCHlch(41.51, 54.10, 135.07°)
OKLaboklab(48.31% -0.1049 0.0867)
OKLCHoklch(48.31% 0.136 140.4)
XYZxyz(6.9997, 12.1851, 3.0815)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B701C #611C70
analogous
#55701C #2B701C #1C7037
triadic
#2B701C #1C2B70 #701C2B
tetradic
#2B701C #1C5570 #611C70 #70371C
square
#2B701C #1C5570 #611C70 #70371C
split-complementary
#2B701C #371C70 #701C55
monochromatic
#091806 #183F10 #2B701C #3EA128 #53CD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b701c;
/* rgb */ color: rgb(43, 112, 28);
/* oklch */ color: oklch(48.3% 0.136 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9a5e',
    500: '#2b701c',
    950: '#000000',
  },
}
SCSS
$custom: #2b701c;
$custom-light: #6d9a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b701c",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 109.286,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.13612,
    "h": 140.4
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#2B701C
secondary
#9343A5
accent
#45E3C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2B701C

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

Preview Lab → · Contrast checker → · Palette generator →

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