#2B7415#2B7415

#2B7415 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.145 H 139.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2B7415
RGBrgb(43, 116, 21)
HSLhsl(106, 69%, 27%)
HSVhsv(106, 82%, 45%)
CMYKcmyk(62.9%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.85, -40.39, 42.15)
CIE-LCHlch(42.85, 58.37, 133.78°)
OKLaboklab(49.4% -0.111 0.0939)
OKLCHoklch(49.4% 0.145 139.8)
XYZxyz(7.3767, 13.0578, 2.8410)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7415 #5E1574
analogous
#5B7415 #2B7415 #15742F
triadic
#2B7415 #152B74 #74152B
tetradic
#2B7415 #155B74 #5E1574 #742F15
square
#2B7415 #155B74 #5E1574 #742F15
split-complementary
#2B7415 #2F1574 #74155B
monochromatic
#0A1A05 #18400C #2B7415 #3EA81E #53D92B

Accessibility & contrast

On white

5.81
#2B7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#2B7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7415
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7415#FFFFFF#000000##FFFFFF
##2B74151.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#217062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b7415;
/* rgb */ color: rgb(43, 116, 21);
/* oklch */ color: oklch(49.4% 0.145 139.8);
Tailwind
colors: {
  custom: {
    50: '#6e9d5b',
    500: '#2b7415',
    950: '#000000',
  },
}
SCSS
$custom: #2b7415;
$custom-light: #6e9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7415",
  "rgb": {
    "r": 43,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 106.105,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.14536,
    "h": 139.8
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#2B7415
secondary
#903BAA
accent
#3CECC3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7415

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

Preview Lab → · Contrast checker → · Palette generator →

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