#2B7513#2B7513

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

Color values

HEX#2B7513
RGBrgb(43, 117, 19)
HSLhsl(105, 72%, 27%)
HSVhsv(105, 84%, 46%)
CMYKcmyk(63.2%, 0%, 83.8%, 54.1%)
CIE-LABlab(43.19, -40.89, 43.11)
CIE-LCHlch(43.19, 59.42, 133.49°)
OKLaboklab(49.68% -0.1125 0.0956)
OKLCHoklch(49.68% 0.148 139.6)
XYZxyz(7.4748, 13.2825, 2.7858)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7513 #5D1375
analogous
#5C7513 #2B7513 #13752C
triadic
#2B7513 #132B75 #75132B
tetradic
#2B7513 #135C75 #5D1375 #752C13
square
#2B7513 #135C75 #5D1375 #752C13
split-complementary
#2B7513 #2C1375 #75135C
monochromatic
#0A1A04 #18400A #2B7513 #3EAA1C #53DC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7513#FFFFFF#000000##FFFFFF
##2B75131.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)
#796A00
Deuteranopia (green-blind)
#6F641F
Tritanopia (blue-blind)
#217163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2b7513;
/* rgb */ color: rgb(43, 117, 19);
/* oklch */ color: oklch(49.7% 0.148 139.6);
Tailwind
colors: {
  custom: {
    50: '#6f9d5a',
    500: '#2b7513',
    950: '#000000',
  },
}
SCSS
$custom: #2b7513;
$custom-light: #6f9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7513",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 105.306,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.14759,
    "h": 139.6
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#2B7513
secondary
#8F38AB
accent
#39EFC2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7513

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

Preview Lab → · Contrast checker → · Palette generator →

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