#2B7850#2B7850

#2B7850 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.4% C 0.099 H 157.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B7850
RGBrgb(43, 120, 80)
HSLhsl(149, 47%, 32%)
HSVhsv(149, 64%, 47%)
CMYKcmyk(64.2%, 0%, 33.3%, 52.9%)
CIE-LABlab(44.98, -33.59, 15.17)
CIE-LCHlch(44.98, 36.86, 155.69°)
OKLaboklab(51.4% -0.0914 0.0384)
OKLCHoklch(51.4% 0.099 157.2)
XYZxyz(9.1599, 14.5248, 9.9087)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7850 #782B53
analogous
#2D782B #2B7850 #2B7877
triadic
#2B7850 #502B78 #78502B
tetradic
#2B7850 #2B2D78 #782B53 #78772B
square
#2B7850 #2B2D78 #782B53 #78772B
split-complementary
#2B7850 #772B78 #782B2D
monochromatic
#0B1E14 #1B4B32 #2B7850 #3BA56E #5AC48D

Accessibility & contrast

On white

5.38
#2B7850 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2B7850 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7850
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7850#FFFFFF#000000##FFFFFF
##2B78501.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4E
Deuteranopia (green-blind)
#6D6753
Tritanopia (blue-blind)
#05776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b7850;
/* rgb */ color: rgb(43, 120, 80);
/* oklch */ color: oklch(51.4% 0.099 157.2);
Tailwind
colors: {
  custom: {
    50: '#6d9f81',
    500: '#2b7850',
    950: '#000000',
  },
}
SCSS
$custom: #2b7850;
$custom-light: #6d9f81;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7850",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 80
  },
  "hsl": {
    "h": 148.831,
    "s": 47.239,
    "l": 31.961
  },
  "oklch": {
    "l": 0.514,
    "c": 0.09915,
    "h": 157.2
  },
  "luminance": 0.14526
}

Semantic roles & 50–950 ramp

primary
#2B7850
secondary
#AA5581
accent
#5197D7
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2B7850

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

Preview Lab → · Contrast checker → · Palette generator →

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