#2B7E2D#2B7E2D

#2B7E2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.142 H 143.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2B7E2D
RGBrgb(43, 126, 45)
HSLhsl(121, 49%, 33%)
HSVhsv(121, 66%, 49%)
CMYKcmyk(65.9%, 0%, 64.3%, 50.6%)
CIE-LABlab(46.48, -41.99, 35.97)
CIE-LCHlch(46.48, 55.29, 139.42°)
OKLaboklab(52.46% -0.1139 0.0841)
OKLCHoklch(52.46% 0.142 143.6)
XYZxyz(8.9302, 15.6239, 5.0272)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E2D #7E2B7C
analogous
#527E2B #2B7E2D #2B7E56
triadic
#2B7E2D #2D2B7E #7E2D2B
tetradic
#2B7E2D #2B527E #7E2B7C #7E562B
square
#2B7E2D #2B527E #7E2B7C #7E562B
split-complementary
#2B7E2D #562B7E #7E2B52
monochromatic
#0C230C #1B501D #2B7E2D #3BAC3D #5CC75F

Accessibility & contrast

On white

5.09
#2B7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2B7E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E2D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E2D#FFFFFF#000000##FFFFFF
##2B7E2D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#197A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e2d;
/* rgb */ color: rgb(43, 126, 45);
/* oklch */ color: oklch(52.5% 0.142 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fa469',
    500: '#2b7e2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e2d;
$custom-light: #6fa469;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e2d",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 121.446,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52462,
    "c": 0.14161,
    "h": 143.6
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#2B7E2D
secondary
#AD58AB
accent
#4FD5D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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