#2B5819#2B5819

#2B5819 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.3% C 0.105 H 138.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5819
RGBrgb(43, 88, 25)
HSLhsl(103, 56%, 22%)
HSVhsv(103, 72%, 35%)
CMYKcmyk(51.1%, 0%, 71.6%, 65.5%)
CIE-LABlab(33.06, -28.43, 30.66)
CIE-LCHlch(33.06, 41.81, 132.84°)
OKLaboklab(41.34% -0.0784 0.0704)
OKLCHoklch(41.34% 0.105 138.1)
XYZxyz(4.6613, 7.5629, 2.1337)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5819 #461958
analogous
#4B5819 #2B5819 #195827
triadic
#2B5819 #192B58 #58192B
tetradic
#2B5819 #194B58 #461958 #582719
square
#2B5819 #194B58 #461958 #582719
split-complementary
#2B5819 #271958 #58194B
monochromatic
#0C1807 #14280B #2B5819 #428827 #5AB734

Accessibility & contrast

On white

8.36
#2B5819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B5819 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5819
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5819#FFFFFF#000000##FFFFFF
##2B58191.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5011
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#28554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5819;
/* rgb */ color: rgb(43, 88, 25);
/* oklch */ color: oklch(41.3% 0.105 138.1);
Tailwind
colors: {
  custom: {
    50: '#698759',
    500: '#2b5819',
    950: '#000000',
  },
}
SCSS
$custom: #2b5819;
$custom-light: #698759;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5819",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 25
  },
  "hsl": {
    "h": 102.857,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41337,
    "c": 0.10542,
    "h": 138.1
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#2B5819
secondary
#783E8E
accent
#49DFB4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2B5819

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

Preview Lab → · Contrast checker → · Palette generator →

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