#2B7515#2B7515

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

Color values

HEX#2B7515
RGBrgb(43, 117, 21)
HSLhsl(106, 70%, 27%)
HSVhsv(106, 82%, 46%)
CMYKcmyk(63.2%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.20, -40.77, 42.48)
CIE-LCHlch(43.20, 58.87, 133.83°)
OKLaboklab(49.69% -0.112 0.0946)
OKLCHoklch(49.69% 0.147 139.8)
XYZxyz(7.4926, 13.2896, 2.8796)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7515 #5F1575
analogous
#5B7515 #2B7515 #15752F
triadic
#2B7515 #152B75 #75152B
tetradic
#2B7515 #155B75 #5F1575 #752F15
square
#2B7515 #155B75 #5F1575 #752F15
split-complementary
#2B7515 #2F1575 #75155B
monochromatic
#0A1A05 #18410C #2B7515 #3EA91E #53D92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7515#FFFFFF#000000##FFFFFF
##2B75151.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: #2b7515;
/* rgb */ color: rgb(43, 117, 21);
/* oklch */ color: oklch(49.7% 0.147 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9d5b',
    500: '#2b7515',
    950: '#000000',
  },
}
SCSS
$custom: #2b7515;
$custom-light: #6f9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7515",
  "rgb": {
    "r": 43,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 106.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49688,
    "c": 0.14659,
    "h": 139.8
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#2B7515
secondary
#913BAB
accent
#3BECC4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7515

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

Preview Lab → · Contrast checker → · Palette generator →

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