#2B5945#2B5945

#2B5945 is a dark, moderate teal. Relative luminance 0.081; OKLCH L 42.5% C 0.061 H 163.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2B5945
RGBrgb(43, 89, 69)
HSLhsl(154, 35%, 26%)
HSVhsv(154, 52%, 35%)
CMYKcmyk(51.7%, 0%, 22.5%, 65.1%)
CIE-LABlab(34.16, -21.18, 6.78)
CIE-LCHlch(34.16, 22.24, 162.24°)
OKLaboklab(42.49% -0.0588 0.0174)
OKLCHoklch(42.49% 0.061 163.5)
XYZxyz(5.6423, 8.0876, 6.8928)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5945 #592B3F
analogous
#2B592E #2B5945 #2B5659
triadic
#2B5945 #452B59 #59452B
tetradic
#2B5945 #2E2B59 #592B3F #56592B
square
#2B5945 #2E2B59 #592B3F #56592B
split-complementary
#2B5945 #592B56 #592E2B
monochromatic
#0A1510 #173025 #2B5945 #3F8265 #53AC85

Accessibility & contrast

On white

8.02
#2B5945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B5945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5945
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5945#FFFFFF#000000##FFFFFF
##2B59451.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585344
Deuteranopia (green-blind)
#514E46
Tritanopia (blue-blind)
#1D5953
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5945;
/* rgb */ color: rgb(43, 89, 69);
/* oklch */ color: oklch(42.5% 0.061 163.5);
Tailwind
colors: {
  custom: {
    50: '#688878',
    500: '#2b5945',
    950: '#000000',
  },
}
SCSS
$custom: #2b5945;
$custom-light: #688878;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5945",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 69
  },
  "hsl": {
    "h": 153.913,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.06136,
    "h": 163.5
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#2B5945
secondary
#8B556C
accent
#5D8DCB
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B09
muted
#7A7C7B

Preview Lab

Preview with #2B5945

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

Preview Lab → · Contrast checker → · Palette generator →

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