#2B7514#2B7514

#2B7514 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.147 H 139.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2B7514
RGBrgb(43, 117, 20)
HSLhsl(106, 71%, 27%)
HSVhsv(106, 83%, 46%)
CMYKcmyk(63.2%, 0%, 82.9%, 54.1%)
CIE-LABlab(43.19, -40.83, 42.80)
CIE-LCHlch(43.19, 59.15, 133.65°)
OKLaboklab(49.68% -0.1122 0.0951)
OKLCHoklch(49.68% 0.147 139.7)
XYZxyz(7.4835, 13.2860, 2.8318)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7514 #5E1475
analogous
#5C7514 #2B7514 #14752E
triadic
#2B7514 #142B75 #75142B
tetradic
#2B7514 #145C75 #5E1475 #752E14
square
#2B7514 #145C75 #5E1475 #752E14
split-complementary
#2B7514 #2E1475 #75145C
monochromatic
#0A1A04 #18410B #2B7514 #3EA91D #53DA29

Accessibility & contrast

On white

5.74
#2B7514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2B7514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7514
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7514#FFFFFF#000000##FFFFFF
##2B75141.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F6420
Tritanopia (blue-blind)
#217163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7514;
/* rgb */ color: rgb(43, 117, 20);
/* oklch */ color: oklch(49.7% 0.147 139.7);
Tailwind
colors: {
  custom: {
    50: '#6f9d5b',
    500: '#2b7514',
    950: '#000000',
  },
}
SCSS
$custom: #2b7514;
$custom-light: #6f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7514",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 105.773,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49682,
    "c": 0.1471,
    "h": 139.7
  },
  "luminance": 0.13287
}

Semantic roles & 50–950 ramp

primary
#2B7514
secondary
#903AAB
accent
#3AEEC3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7514

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

Preview Lab → · Contrast checker → · Palette generator →

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