#2B7E2A#2B7E2A

#2B7E2A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.144 H 143.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2B7E2A
RGBrgb(43, 126, 42)
HSLhsl(119, 50%, 33%)
HSVhsv(119, 67%, 49%)
CMYKcmyk(65.9%, 0%, 66.7%, 50.6%)
CIE-LABlab(46.45, -42.34, 37.34)
CIE-LCHlch(46.45, 56.45, 138.59°)
OKLaboklab(52.43% -0.115 0.0867)
OKLCHoklch(52.43% 0.144 143)
XYZxyz(8.8745, 15.6016, 4.7338)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E2A #7D2A7E
analogous
#557E2A #2B7E2A #2A7E53
triadic
#2B7E2A #2A2B7E #7E2A2B
tetradic
#2B7E2A #2A557E #7D2A7E #7E532A
square
#2B7E2A #2A557E #7D2A7E #7E532A
split-complementary
#2B7E2A #532A7E #7E2A55
monochromatic
#0C220B #1B501B #2B7E2A #3BAC39 #5CC85A

Accessibility & contrast

On white

5.10
#2B7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7E2A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E2A#FFFFFF#000000##FFFFFF
##2B7E2A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817220
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#1A7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b7e2a;
/* rgb */ color: rgb(43, 126, 42);
/* oklch */ color: oklch(52.4% 0.144 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fa467',
    500: '#2b7e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e2a;
$custom-light: #6fa467;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e2a",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 119.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.14403,
    "h": 143
  },
  "luminance": 0.15602
}

Semantic roles & 50–950 ramp

primary
#2B7E2A
secondary
#AD56AE
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2B7E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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