#2B7A2D#2B7A2D

#2B7A2D is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.136 H 143.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2B7A2D
RGBrgb(43, 122, 45)
HSLhsl(122, 48%, 32%)
HSVhsv(122, 65%, 48%)
CMYKcmyk(64.8%, 0%, 63.1%, 52.2%)
CIE-LABlab(45.11, -40.44, 34.42)
CIE-LCHlch(45.11, 53.10, 139.60°)
OKLaboklab(51.33% -0.1097 0.0807)
OKLCHoklch(51.33% 0.136 143.7)
XYZxyz(8.4290, 14.6213, 4.8601)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A2D #7A2B78
analogous
#517A2B #2B7A2D #2B7A55
triadic
#2B7A2D #2D2B7A #7A2D2B
tetradic
#2B7A2D #2B517A #7A2B78 #7A552B
square
#2B7A2D #2B517A #7A2B78 #7A552B
split-complementary
#2B7A2D #552B7A #7A2B51
monochromatic
#0B1F0C #1B4D1C #2B7A2D #3BA73E #5AC55D

Accessibility & contrast

On white

5.35
#2B7A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2B7A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7A2D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7A2D#FFFFFF#000000##FFFFFF
##2B7A2D1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F25
Deuteranopia (green-blind)
#736833
Tritanopia (blue-blind)
#1B7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7a2d;
/* rgb */ color: rgb(43, 122, 45);
/* oklch */ color: oklch(51.3% 0.136 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ea169',
    500: '#2b7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a2d;
$custom-light: #6ea169;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a2d",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 121.519,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.13624,
    "h": 143.7
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#2B7A2D
secondary
#AB56A9
accent
#50D4D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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