#2B7D2F#2B7D2F

#2B7D2F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.139 H 144.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2B7D2F
RGBrgb(43, 125, 47)
HSLhsl(123, 49%, 33%)
HSVhsv(123, 66%, 49%)
CMYKcmyk(65.6%, 0%, 62.4%, 51%)
CIE-LABlab(46.16, -41.36, 34.64)
CIE-LCHlch(46.16, 53.95, 140.05°)
OKLaboklab(52.2% -0.1121 0.0814)
OKLCHoklch(52.2% 0.139 144)
XYZxyz(8.8424, 15.3852, 5.1924)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7D2F #7D2B79
analogous
#507D2B #2B7D2F #2B7D58
triadic
#2B7D2F #2F2B7D #7D2F2B
tetradic
#2B7D2F #2B507D #7D2B79 #7D582B
square
#2B7D2F #2B507D #7D2B79 #7D582B
split-complementary
#2B7D2F #582B7D #7D2B50
monochromatic
#0C220D #1B4F1E #2B7D2F #3BAB40 #5CC761

Accessibility & contrast

On white

5.15
#2B7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2B7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7D2F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7D2F#FFFFFF#000000##FFFFFF
##2B7D2F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7227
Deuteranopia (green-blind)
#756B35
Tritanopia (blue-blind)
#197A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b7d2f;
/* rgb */ color: rgb(43, 125, 47);
/* oklch */ color: oklch(52.2% 0.139 144.0);
Tailwind
colors: {
  custom: {
    50: '#6fa36a',
    500: '#2b7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7d2f;
$custom-light: #6fa36a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7d2f",
  "rgb": {
    "r": 43,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 122.927,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.13858,
    "h": 144
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#2B7D2F
secondary
#AD57A8
accent
#4FD2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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