#2B551B#2B551B

#2B551B is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.5% C 0.099 H 138.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2B551B
RGBrgb(43, 85, 27)
HSLhsl(103, 52%, 22%)
HSVhsv(103, 68%, 33%)
CMYKcmyk(49.4%, 0%, 68.2%, 66.7%)
CIE-LABlab(32.01, -26.83, 28.54)
CIE-LCHlch(32.01, 39.17, 133.23°)
OKLaboklab(40.49% -0.0739 0.0662)
OKLCHoklch(40.49% 0.099 138.2)
XYZxyz(4.4424, 7.0894, 2.1710)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B551B #451B55
analogous
#48551B #2B551B #1B5528
triadic
#2B551B #1B2B55 #551B2B
tetradic
#2B551B #1B4855 #451B55 #55281B
square
#2B551B #1B4855 #451B55 #55281B
split-complementary
#2B551B #281B55 #551B48
monochromatic
#0C1707 #14270C #2B551B #42832A #5AB239

Accessibility & contrast

On white

8.68
#2B551B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B551B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B551B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B551B#FFFFFF#000000##FFFFFF
##2B551B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#285249
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b551b;
/* rgb */ color: rgb(43, 85, 27);
/* oklch */ color: oklch(40.5% 0.099 138.2);
Tailwind
colors: {
  custom: {
    50: '#68855a',
    500: '#2b551b',
    950: '#000000',
  },
}
SCSS
$custom: #2b551b;
$custom-light: #68855a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b551b",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 27
  },
  "hsl": {
    "h": 103.448,
    "s": 51.786,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.09927,
    "h": 138.2
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#2B551B
secondary
#76418B
accent
#4DDBB4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B551B

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

Preview Lab → · Contrast checker → · Palette generator →

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