#2B5925#2B5925

#2B5925 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.096 H 141.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2B5925
RGBrgb(43, 89, 37)
HSLhsl(113, 41%, 25%)
HSVhsv(113, 58%, 35%)
CMYKcmyk(51.7%, 0%, 58.4%, 65.1%)
CIE-LABlab(33.55, -27.44, 25.05)
CIE-LCHlch(33.55, 37.15, 137.61°)
OKLaboklab(41.78% -0.0749 0.0597)
OKLCHoklch(41.78% 0.096 141.4)
XYZxyz(4.9024, 7.7916, 2.9955)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5925 #532559
analogous
#455925 #2B5925 #255939
triadic
#2B5925 #252B59 #59252B
tetradic
#2B5925 #254559 #532559 #593925
square
#2B5925 #254559 #532559 #593925
split-complementary
#2B5925 #392559 #592545
monochromatic
#0A1609 #162E13 #2B5925 #408437 #55AF49

Accessibility & contrast

On white

8.21
#2B5925 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B5925 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5925
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5925#FFFFFF#000000##FFFFFF
##2B59251.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5120
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#26564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5925;
/* rgb */ color: rgb(43, 89, 37);
/* oklch */ color: oklch(41.8% 0.096 141.4);
Tailwind
colors: {
  custom: {
    50: '#688861',
    500: '#2b5925',
    950: '#000000',
  },
}
SCSS
$custom: #2b5925;
$custom-light: #688861;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5925",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 37
  },
  "hsl": {
    "h": 113.077,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.0958,
    "h": 141.4
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#2B5925
secondary
#854D8C
accent
#57D1C3
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060B05
muted
#7A7C79

Preview Lab

Preview with #2B5925

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

Preview Lab → · Contrast checker → · Palette generator →

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