#2B7F4F#2B7F4F

#2B7F4F is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.3% C 0.111 H 154.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B7F4F
RGBrgb(43, 127, 79)
HSLhsl(146, 49%, 33%)
HSVhsv(146, 66%, 50%)
CMYKcmyk(66.1%, 0%, 37.8%, 50.2%)
CIE-LABlab(47.31, -36.87, 18.90)
CIE-LCHlch(47.31, 41.43, 152.86°)
OKLaboklab(53.31% -0.0999 0.0474)
OKLCHoklch(53.31% 0.111 154.6)
XYZxyz(9.9961, 16.2558, 10.0065)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F4F #7F2B5B
analogous
#317F2B #2B7F4F #2B7F79
triadic
#2B7F4F #4F2B7F #7F4F2B
tetradic
#2B7F4F #2B317F #7F2B5B #7F792B
square
#2B7F4F #2B317F #7F2B5B #7F792B
split-complementary
#2B7F4F #792B7F #7F2B31
monochromatic
#0C2416 #1C5133 #2B7F4F #3AAD6B #5CC88B

Accessibility & contrast

On white

4.94
#2B7F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2B7F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F4F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F4F#FFFFFF#000000##FFFFFF
##2B7F4F1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754C
Deuteranopia (green-blind)
#746D52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b7f4f;
/* rgb */ color: rgb(43, 127, 79);
/* oklch */ color: oklch(53.3% 0.111 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ea580',
    500: '#2b7f4f',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f4f;
$custom-light: #6ea580;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f4f",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 145.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.11052,
    "h": 154.6
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#2B7F4F
secondary
#AE5889
accent
#4F9ED9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2B7F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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