#2B7A2F#2B7A2F

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

Color values

HEX#2B7A2F
RGBrgb(43, 122, 47)
HSLhsl(123, 48%, 32%)
HSVhsv(123, 65%, 48%)
CMYKcmyk(64.8%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.13, -40.19, 33.46)
CIE-LCHlch(45.13, 52.29, 140.22°)
OKLaboklab(51.36% -0.109 0.0789)
OKLCHoklch(51.36% 0.135 144.1)
XYZxyz(8.4684, 14.6371, 5.0677)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7A2F #7A2B76
analogous
#4F7A2B #2B7A2F #2B7A57
triadic
#2B7A2F #2F2B7A #7A2F2B
tetradic
#2B7A2F #2B4F7A #7A2B76 #7A572B
square
#2B7A2F #2B4F7A #7A2B76 #7A572B
split-complementary
#2B7A2F #572B7A #7A2B4F
monochromatic
#0B1F0C #1B4D1E #2B7A2F #3BA740 #5AC560

Accessibility & contrast

On white

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

On black

3.93
#2B7A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B7A2F#FFFFFF#000000##FFFFFF
##2B7A2F1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F27
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#1A776A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b7a2f;
/* rgb */ color: rgb(43, 122, 47);
/* oklch */ color: oklch(51.4% 0.135 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ea16a',
    500: '#2b7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7a2f;
$custom-light: #6ea16a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7a2f",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 123.038,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.13451,
    "h": 144.1
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#2B7A2F
secondary
#AB56A7
accent
#50D1D7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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