#2B7014#2B7014

#2B7014 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.141 H 139.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#2B7014
RGBrgb(43, 112, 20)
HSLhsl(105, 70%, 26%)
HSVhsv(105, 82%, 44%)
CMYKcmyk(61.6%, 0%, 82.1%, 56.1%)
CIE-LABlab(41.46, -38.91, 41.16)
CIE-LCHlch(41.46, 56.64, 133.39°)
OKLaboklab(48.25% -0.1071 0.0917)
OKLCHoklch(48.25% 0.141 139.4)
XYZxyz(6.9164, 12.1518, 2.6427)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7014 #591470
analogous
#597014 #2B7014 #14702B
triadic
#2B7014 #142B70 #70142B
tetradic
#2B7014 #145970 #591470 #702B14
square
#2B7014 #145970 #591470 #702B14
split-complementary
#2B7014 #2B1470 #701459
monochromatic
#0A1A05 #173C0B #2B7014 #3FA41D #53D827

Accessibility & contrast

On white

6.12
#2B7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2B7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7014
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7014#FFFFFF#000000##FFFFFF
##2B70141.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#236C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b7014;
/* rgb */ color: rgb(43, 112, 20);
/* oklch */ color: oklch(48.2% 0.141 139.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a5a',
    500: '#2b7014',
    950: '#000000',
  },
}
SCSS
$custom: #2b7014;
$custom-light: #6e9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7014",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 105,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48248,
    "c": 0.14095,
    "h": 139.4
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#2B7014
secondary
#8B39A6
accent
#3BEDC0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7014

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

Preview Lab → · Contrast checker → · Palette generator →

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