#2B5719#2B5719

#2B5719 is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.104 H 138.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2B5719
RGBrgb(43, 87, 25)
HSLhsl(103, 55%, 22%)
HSVhsv(103, 71%, 34%)
CMYKcmyk(50.6%, 0%, 71.3%, 65.9%)
CIE-LABlab(32.70, -27.97, 30.28)
CIE-LCHlch(32.70, 41.22, 132.73°)
OKLaboklab(41.05% -0.0772 0.0696)
OKLCHoklch(41.05% 0.104 138)
XYZxyz(4.5798, 7.3999, 2.1065)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5719 #451957
analogous
#4A5719 #2B5719 #195726
triadic
#2B5719 #192B57 #57192B
tetradic
#2B5719 #194A57 #451957 #572619
square
#2B5719 #194A57 #451957 #572619
split-complementary
#2B5719 #261957 #57194A
monochromatic
#0C1807 #14270B #2B5719 #428727 #5AB634

Accessibility & contrast

On white

8.47
#2B5719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B5719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5719
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5719#FFFFFF#000000##FFFFFF
##2B57191.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F11
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b5719;
/* rgb */ color: rgb(43, 87, 25);
/* oklch */ color: oklch(41.0% 0.104 138.0);
Tailwind
colors: {
  custom: {
    50: '#698759',
    500: '#2b5719',
    950: '#000000',
  },
}
SCSS
$custom: #2b5719;
$custom-light: #698759;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5719",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 25
  },
  "hsl": {
    "h": 102.581,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.10396,
    "h": 138
  },
  "luminance": 0.074
}

Semantic roles & 50–950 ramp

primary
#2B5719
secondary
#763E8D
accent
#49DFB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B5719

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

Preview Lab → · Contrast checker → · Palette generator →

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