#2B794A#2B794A

#2B794A is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.107 H 153.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2B794A
RGBrgb(43, 121, 74)
HSLhsl(144, 48%, 32%)
HSVhsv(144, 64%, 47%)
CMYKcmyk(64.5%, 0%, 38.8%, 52.5%)
CIE-LABlab(45.20, -35.30, 18.93)
CIE-LCHlch(45.20, 40.05, 151.80°)
OKLaboklab(51.54% -0.0956 0.0473)
OKLCHoklch(51.54% 0.107 153.7)
XYZxyz(9.0689, 14.6818, 8.8332)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B794A #792B5A
analogous
#33792B #2B794A #2B7971
triadic
#2B794A #4A2B79 #794A2B
tetradic
#2B794A #2B3379 #792B5A #79712B
square
#2B794A #2B3379 #792B5A #79712B
split-complementary
#2B794A #712B79 #792B33
monochromatic
#0B1F13 #1B4C2E #2B794A #3BA666 #5AC484

Accessibility & contrast

On white

5.33
#2B794A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2B794A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B794A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B794A#FFFFFF#000000##FFFFFF
##2B794A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F47
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#0B786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b794a;
/* rgb */ color: rgb(43, 121, 74);
/* oklch */ color: oklch(51.5% 0.107 153.7);
Tailwind
colors: {
  custom: {
    50: '#6da07d',
    500: '#2b794a',
    950: '#000000',
  },
}
SCSS
$custom: #2b794a;
$custom-light: #6da07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b794a",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 74
  },
  "hsl": {
    "h": 143.846,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.10666,
    "h": 153.7
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#2B794A
secondary
#AA5689
accent
#51A2D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2B794A

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

Preview Lab → · Contrast checker → · Palette generator →

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