#2B7715#2B7715

#2B7715 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.149 H 139.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2B7715
RGBrgb(43, 119, 21)
HSLhsl(107, 70%, 27%)
HSVhsv(107, 82%, 47%)
CMYKcmyk(63.9%, 0%, 82.4%, 53.3%)
CIE-LABlab(43.89, -41.53, 43.13)
CIE-LCHlch(43.89, 59.87, 133.91°)
OKLaboklab(50.26% -0.114 0.0959)
OKLCHoklch(50.26% 0.149 139.9)
XYZxyz(7.7281, 13.7607, 2.9581)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7715 #611577
analogous
#5C7715 #2B7715 #157730
triadic
#2B7715 #152B77 #77152B
tetradic
#2B7715 #155C77 #611577 #773015
square
#2B7715 #155C77 #611577 #773015
split-complementary
#2B7715 #301577 #77155C
monochromatic
#091A05 #18430C #2B7715 #3EAB1E #53DA2D

Accessibility & contrast

On white

5.60
#2B7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2B7715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7715
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7715#FFFFFF#000000##FFFFFF
##2B77151.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#217365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2b7715;
/* rgb */ color: rgb(43, 119, 21);
/* oklch */ color: oklch(50.3% 0.149 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f5b',
    500: '#2b7715',
    950: '#000000',
  },
}
SCSS
$custom: #2b7715;
$custom-light: #6f9f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7715",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 106.531,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.14903,
    "h": 139.9
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#2B7715
secondary
#933BAD
accent
#3BEDC5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2B7715

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

Preview Lab → · Contrast checker → · Palette generator →

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