#2B5319#2B5319

#2B5319 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.098 H 137.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2B5319
RGBrgb(43, 83, 25)
HSLhsl(101, 54%, 21%)
HSVhsv(101, 70%, 33%)
CMYKcmyk(48.2%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.28, -26.11, 28.73)
CIE-LCHlch(31.28, 38.82, 132.26°)
OKLaboklab(39.88% -0.0721 0.0664)
OKLCHoklch(39.88% 0.098 137.4)
XYZxyz(4.2649, 6.7700, 2.0015)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5319 #411953
analogous
#485319 #2B5319 #195324
triadic
#2B5319 #192B53 #53192B
tetradic
#2B5319 #194853 #411953 #532419
square
#2B5319 #194853 #411953 #532419
split-complementary
#2B5319 #241953 #531948
monochromatic
#0C1807 #13240B #2B5319 #438227 #5CB135

Accessibility & contrast

On white

8.92
#2B5319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B5319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5319
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5319#FFFFFF#000000##FFFFFF
##2B53191.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#295047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b5319;
/* rgb */ color: rgb(43, 83, 25);
/* oklch */ color: oklch(39.9% 0.098 137.4);
Tailwind
colors: {
  custom: {
    50: '#688459',
    500: '#2b5319',
    950: '#000000',
  },
}
SCSS
$custom: #2b5319;
$custom-light: #688459;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5319",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 101.379,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39879,
    "c": 0.09802,
    "h": 137.4
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#2B5319
secondary
#723E89
accent
#4BDDB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #2B5319

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

Preview Lab → · Contrast checker → · Palette generator →

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