#2B7F13#2B7F13

#2B7F13 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.159 H 140.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2B7F13
RGBrgb(43, 127, 19)
HSLhsl(107, 74%, 29%)
HSVhsv(107, 85%, 50%)
CMYKcmyk(66.1%, 0%, 85%, 50.2%)
CIE-LABlab(46.63, -44.59, 46.29)
CIE-LCHlch(46.63, 64.28, 133.93°)
OKLaboklab(52.53% -0.1224 0.1022)
OKLCHoklch(52.53% 0.159 140.1)
XYZxyz(8.7028, 15.7385, 3.1952)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F13 #67137F
analogous
#617F13 #2B7F13 #137F31
triadic
#2B7F13 #132B7F #7F132B
tetradic
#2B7F13 #13617F #67137F #7F3113
square
#2B7F13 #13617F #67137F #7F3113
split-complementary
#2B7F13 #31137F #7F1361
monochromatic
#091B04 #194A0B #2B7F13 #3DB41B #55E02D

Accessibility & contrast

On white

5.06
#2B7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2B7F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F13
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F13#FFFFFF#000000##FFFFFF
##2B7F131.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#1E7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7f13;
/* rgb */ color: rgb(43, 127, 19);
/* oklch */ color: oklch(52.5% 0.159 140.1);
Tailwind
colors: {
  custom: {
    50: '#71a55c',
    500: '#2b7f13',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f13;
$custom-light: #71a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f13",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 106.667,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.15949,
    "h": 140.1
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2B7F13
secondary
#9939B4
accent
#37F1C7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2B7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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