#2B7D15#2B7D15

#2B7D15 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.156 H 140.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2B7D15
RGBrgb(43, 125, 21)
HSLhsl(107, 71%, 29%)
HSVhsv(107, 83%, 49%)
CMYKcmyk(65.6%, 0%, 83.2%, 51%)
CIE-LABlab(45.95, -43.75, 45.07)
CIE-LCHlch(45.95, 62.82, 134.15°)
OKLaboklab(51.97% -0.12 0.1)
OKLCHoklch(51.97% 0.156 140.2)
XYZxyz(8.4648, 15.2341, 3.2037)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D15 #67157D
analogous
#5F7D15 #2B7D15 #157D33
triadic
#2B7D15 #152B7D #7D152B
tetradic
#2B7D15 #155F7D #67157D #7D3315
square
#2B7D15 #155F7D #67157D #7D3315
split-complementary
#2B7D15 #33157D #7D155F
monochromatic
#091A04 #19490C #2B7D15 #3DB11E #55DC30

Accessibility & contrast

On white

5.19
#2B7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2B7D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D15
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D15#FFFFFF#000000##FFFFFF
##2B7D151.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776A22
Tritanopia (blue-blind)
#1E796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d15;
/* rgb */ color: rgb(43, 125, 21);
/* oklch */ color: oklch(52.0% 0.156 140.2);
Tailwind
colors: {
  custom: {
    50: '#70a35c',
    500: '#2b7d15',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d15;
$custom-light: #70a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d15",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 107.308,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.15623,
    "h": 140.2
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#2B7D15
secondary
#993CB2
accent
#3AEEC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #2B7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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