#2B4E2F#2B4E2F

#2B4E2F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.066 H 146.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2B4E2F
RGBrgb(43, 78, 47)
HSLhsl(127, 29%, 24%)
HSVhsv(127, 45%, 31%)
CMYKcmyk(44.9%, 0%, 39.7%, 69.4%)
CIE-LABlab(29.83, -20.31, 14.50)
CIE-LCHlch(29.83, 24.95, 144.48°)
OKLaboklab(38.8% -0.0553 0.0362)
OKLCHoklch(38.8% 0.066 146.8)
XYZxyz(4.2335, 6.1673, 3.6561)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E2F #4E2B4A
analogous
#384E2B #2B4E2F #2B4E40
triadic
#2B4E2F #2F2B4E #4E2F2B
tetradic
#2B4E2F #2B384E #4E2B4A #4E402B
square
#2B4E2F #2B384E #4E2B4A #4E402B
split-complementary
#2B4E2F #402B4E #4E2B38
monochromatic
#0B140C #152717 #2B4E2F #417547 #569D5F

Accessibility & contrast

On white

9.40
#2B4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E2F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E2F#FFFFFF#000000##FFFFFF
##2B4E2F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#4A4531
Tritanopia (blue-blind)
#264C46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4e2f;
/* rgb */ color: rgb(43, 78, 47);
/* oklch */ color: oklch(38.8% 0.066 146.8);
Tailwind
colors: {
  custom: {
    50: '#668067',
    500: '#2b4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e2f;
$custom-light: #668067;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e2f",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 126.857,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.38803,
    "c": 0.06609,
    "h": 146.8
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#2B4E2F
secondary
#80557B
accent
#63BAC5
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2B4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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