#2B7F2E#2B7F2E

#2B7F2E is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.142 H 143.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2B7F2E
RGBrgb(43, 127, 46)
HSLhsl(122, 49%, 33%)
HSVhsv(122, 66%, 50%)
CMYKcmyk(66.1%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.83, -42.26, 35.89)
CIE-LCHlch(46.83, 55.44, 139.66°)
OKLaboklab(52.76% -0.1146 0.084)
OKLCHoklch(52.76% 0.142 143.8)
XYZxyz(9.0782, 15.8887, 5.1726)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F2E #7F2B7C
analogous
#527F2B #2B7F2E #2B7F58
triadic
#2B7F2E #2E2B7F #7F2E2B
tetradic
#2B7F2E #2B527F #7F2B7C #7F582B
square
#2B7F2E #2B527F #7F2B7C #7F582B
split-complementary
#2B7F2E #582B7F #7F2B52
monochromatic
#0C240D #1C511D #2B7F2E #3AAD3F #5CC860

Accessibility & contrast

On white

5.03
#2B7F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2B7F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F2E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F2E#FFFFFF#000000##FFFFFF
##2B7F2E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#187B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7f2e;
/* rgb */ color: rgb(43, 127, 46);
/* oklch */ color: oklch(52.8% 0.142 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fa56a',
    500: '#2b7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f2e;
$custom-light: #6fa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f2e",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 122.143,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.1421,
    "h": 143.8
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#2B7F2E
secondary
#AE58AB
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2B7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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