#2B7E15#2B7E15

#2B7E15 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.157 H 140.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2B7E15
RGBrgb(43, 126, 21)
HSLhsl(107, 71%, 29%)
HSVhsv(107, 83%, 49%)
CMYKcmyk(65.9%, 0%, 83.3%, 50.6%)
CIE-LABlab(46.30, -44.12, 45.39)
CIE-LCHlch(46.30, 63.30, 134.18°)
OKLaboklab(52.25% -0.121 0.1007)
OKLCHoklch(52.25% 0.157 140.2)
XYZxyz(8.5921, 15.4886, 3.2461)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E15 #68157E
analogous
#607E15 #2B7E15 #157E34
triadic
#2B7E15 #152B7E #7E152B
tetradic
#2B7E15 #15607E #68157E #7E3415
square
#2B7E15 #15607E #68157E #7E3415
split-complementary
#2B7E15 #34157E #7E1560
monochromatic
#091A04 #194A0C #2B7E15 #3DB21E #55DD31

Accessibility & contrast

On white

5.12
#2B7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2B7E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E15#FFFFFF#000000##FFFFFF
##2B7E151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#1E7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e15;
/* rgb */ color: rgb(43, 126, 21);
/* oklch */ color: oklch(52.3% 0.157 140.2);
Tailwind
colors: {
  custom: {
    50: '#71a45d',
    500: '#2b7e15',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e15;
$custom-light: #71a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e15",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 107.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.15742,
    "h": 140.2
  },
  "luminance": 0.15489
}

Semantic roles & 50–950 ramp

primary
#2B7E15
secondary
#9A3CB3
accent
#3AEEC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2B7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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