#2B5919#2B5919

#2B5919 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.107 H 138.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2B5919
RGBrgb(43, 89, 25)
HSLhsl(103, 56%, 22%)
HSVhsv(103, 72%, 35%)
CMYKcmyk(51.7%, 0%, 71.9%, 65.1%)
CIE-LABlab(33.41, -28.88, 31.04)
CIE-LCHlch(33.41, 42.40, 132.94°)
OKLaboklab(41.63% -0.0797 0.0712)
OKLCHoklch(41.63% 0.107 138.2)
XYZxyz(4.7439, 7.7282, 2.1612)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5919 #471959
analogous
#4B5919 #2B5919 #195927
triadic
#2B5919 #192B59 #59192B
tetradic
#2B5919 #194B59 #471959 #592719
square
#2B5919 #194B59 #471959 #592719
split-complementary
#2B5919 #271959 #59194B
monochromatic
#0C1807 #14290C #2B5919 #428926 #59B934

Accessibility & contrast

On white

8.25
#2B5919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B5919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5919
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5919#FFFFFF#000000##FFFFFF
##2B59191.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#28564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5919;
/* rgb */ color: rgb(43, 89, 25);
/* oklch */ color: oklch(41.6% 0.107 138.2);
Tailwind
colors: {
  custom: {
    50: '#698859',
    500: '#2b5919',
    950: '#000000',
  },
}
SCSS
$custom: #2b5919;
$custom-light: #698859;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5919",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 25
  },
  "hsl": {
    "h": 103.125,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41628,
    "c": 0.10687,
    "h": 138.2
  },
  "luminance": 0.07729
}

Semantic roles & 50–950 ramp

primary
#2B5919
secondary
#793E8F
accent
#48DFB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2B5919

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

Preview Lab → · Contrast checker → · Palette generator →

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