#2B704D#2B704D

#2B704D is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.1% C 0.090 H 158.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2B704D
RGBrgb(43, 112, 77)
HSLhsl(150, 45%, 30%)
HSVhsv(150, 62%, 44%)
CMYKcmyk(61.6%, 0%, 31.2%, 56.1%)
CIE-LABlab(42.21, -30.61, 13.14)
CIE-LCHlch(42.21, 33.32, 156.76°)
OKLaboklab(49.11% -0.0836 0.0334)
OKLCHoklch(49.11% 0.09 158.2)
XYZxyz(8.1293, 12.6370, 9.0305)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B704D #702B4E
analogous
#2C702B #2B704D #2B706F
triadic
#2B704D #4D2B70 #704D2B
tetradic
#2B704D #2B2C70 #702B4E #706F2B
square
#2B704D #2B2C70 #702B4E #706F2B
split-complementary
#2B704D #6F2B70 #702B2C
monochromatic
#091810 #1A442F #2B704D #3C9C6B #57BE8A

Accessibility & contrast

On white

5.95
#2B704D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2B704D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B704D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B704D#FFFFFF#000000##FFFFFF
##2B704D1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684B
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#0F6F67
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b704d;
/* rgb */ color: rgb(43, 112, 77);
/* oklch */ color: oklch(49.1% 0.090 158.2);
Tailwind
colors: {
  custom: {
    50: '#6c997f',
    500: '#2b704d',
    950: '#000000',
  },
}
SCSS
$custom: #2b704d;
$custom-light: #6c997f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b704d",
  "rgb": {
    "r": 43,
    "g": 112,
    "b": 77
  },
  "hsl": {
    "h": 149.565,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.09001,
    "h": 158.2
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#2B704D
secondary
#A2557C
accent
#5495D4
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #2B704D

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

Preview Lab → · Contrast checker → · Palette generator →

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