#2B4E28#2B4E28

#2B4E28 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.7% C 0.074 H 142.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4E28
RGBrgb(43, 78, 40)
HSLhsl(115, 32%, 23%)
HSVhsv(115, 49%, 31%)
CMYKcmyk(44.9%, 0%, 48.7%, 69.4%)
CIE-LABlab(29.70, -21.58, 18.58)
CIE-LCHlch(29.70, 28.48, 139.27°)
OKLaboklab(38.66% -0.0589 0.0455)
OKLCHoklch(38.66% 0.074 142.3)
XYZxyz(4.1035, 6.1153, 2.9712)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E28 #4B284E
analogous
#3E4E28 #2B4E28 #284E38
triadic
#2B4E28 #282B4E #4E282B
tetradic
#2B4E28 #283E4E #4B284E #4E3828
square
#2B4E28 #283E4E #4B284E #4E3828
split-complementary
#2B4E28 #38284E #4E283E
monochromatic
#0B140A #152613 #2B4E28 #41763D #589F51

Accessibility & contrast

On white

9.45
#2B4E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E28
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E28#FFFFFF#000000##FFFFFF
##2B4E281.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#274C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4e28;
/* rgb */ color: rgb(43, 78, 40);
/* oklch */ color: oklch(38.7% 0.074 142.3);
Tailwind
colors: {
  custom: {
    50: '#678062',
    500: '#2b4e28',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e28;
$custom-light: #678062;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e28",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 115.263,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.07437,
    "h": 142.3
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#2B4E28
secondary
#7D5181
accent
#5FC8C0
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2B4E28

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

Preview Lab → · Contrast checker → · Palette generator →

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