#2B7310#2B7310

#2B7310 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.147 H 139.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2B7310
RGBrgb(43, 115, 16)
HSLhsl(104, 76%, 26%)
HSVhsv(104, 86%, 45%)
CMYKcmyk(62.6%, 0%, 86.1%, 54.9%)
CIE-LABlab(42.48, -40.30, 43.36)
CIE-LCHlch(42.48, 59.20, 132.91°)
OKLaboklab(49.09% -0.111 0.0957)
OKLCHoklch(49.09% 0.147 139.3)
XYZxyz(7.2202, 12.8118, 2.5825)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7310 #581073
analogous
#5C7310 #2B7310 #107326
triadic
#2B7310 #102B73 #73102B
tetradic
#2B7310 #105C73 #581073 #732610
square
#2B7310 #105C73 #581073 #732610
split-complementary
#2B7310 #261073 #73105C
monochromatic
#0A1B04 #173D09 #2B7310 #3FA917 #53DE1F

Accessibility & contrast

On white

5.89
#2B7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2B7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7310
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7310#FFFFFF#000000##FFFFFF
##2B73101.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#226F61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b7310;
/* rgb */ color: rgb(43, 115, 16);
/* oklch */ color: oklch(49.1% 0.147 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9c59',
    500: '#2b7310',
    950: '#000000',
  },
}
SCSS
$custom: #2b7310;
$custom-light: #6f9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7310",
  "rgb": {
    "r": 43,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 103.636,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.14655,
    "h": 139.3
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#2B7310
secondary
#8A34AA
accent
#36F2BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7310

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

Preview Lab → · Contrast checker → · Palette generator →

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