#2B5B19#2B5B19

#2B5B19 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.110 H 138.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2B5B19
RGBrgb(43, 91, 25)
HSLhsl(104, 57%, 23%)
HSVhsv(104, 73%, 36%)
CMYKcmyk(52.7%, 0%, 72.5%, 64.3%)
CIE-LABlab(34.12, -29.78, 31.79)
CIE-LCHlch(34.12, 43.56, 133.13°)
OKLaboklab(42.21% -0.0821 0.0728)
OKLCHoklch(42.21% 0.11 138.4)
XYZxyz(4.9126, 8.0656, 2.2175)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B19 #49195B
analogous
#4C5B19 #2B5B19 #195B28
triadic
#2B5B19 #192B5B #5B192B
tetradic
#2B5B19 #194C5B #49195B #5B2819
square
#2B5B19 #194C5B #49195B #5B2819
split-complementary
#2B5B19 #28195B #5B194C
monochromatic
#0B1807 #142B0C #2B5B19 #428B26 #58BB33

Accessibility & contrast

On white

8.04
#2B5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5B19
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B19#FFFFFF#000000##FFFFFF
##2B5B191.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5310
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#27584E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b19;
/* rgb */ color: rgb(43, 91, 25);
/* oklch */ color: oklch(42.2% 0.110 138.4);
Tailwind
colors: {
  custom: {
    50: '#698a5a',
    500: '#2b5b19',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b19;
$custom-light: #698a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b19",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 103.636,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.10976,
    "h": 138.4
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#2B5B19
secondary
#7B3F91
accent
#48E0B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5B19

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

Preview Lab → · Contrast checker → · Palette generator →

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