#2B6F40#2B6F40

#2B6F40 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.102 H 150.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2B6F40
RGBrgb(43, 111, 64)
HSLhsl(139, 44%, 30%)
HSVhsv(139, 61%, 44%)
CMYKcmyk(61.3%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.61, -32.88, 19.93)
CIE-LCHlch(41.61, 38.45, 148.77°)
OKLaboklab(48.54% -0.089 0.0495)
OKLCHoklch(48.54% 0.102 150.9)
XYZxyz(7.6055, 12.2519, 6.8135)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6F40 #6F2B5A
analogous
#386F2B #2B6F40 #2B6F62
triadic
#2B6F40 #402B6F #6F402B
tetradic
#2B6F40 #2B386F #6F2B5A #6F622B
square
#2B6F40 #2B386F #6F2B5A #6F622B
split-complementary
#2B6F40 #622B6F #6F2B38
monochromatic
#09170D #1A4327 #2B6F40 #3C9B59 #57BE76

Accessibility & contrast

On white

6.09
#2B6F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2B6F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6F40
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6F40#FFFFFF#000000##FFFFFF
##2B6F401.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#666043
Tritanopia (blue-blind)
#186D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b6f40;
/* rgb */ color: rgb(43, 111, 64);
/* oklch */ color: oklch(48.5% 0.102 150.9);
Tailwind
colors: {
  custom: {
    50: '#6b9975',
    500: '#2b6f40',
    950: '#000000',
  },
}
SCSS
$custom: #2b6f40;
$custom-light: #6b9975;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6f40",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 138.529,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.10181,
    "h": 150.9
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#2B6F40
secondary
#A15589
accent
#54ACD4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2B6F40

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

Preview Lab → · Contrast checker → · Palette generator →

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