#2B5D19#2B5D19

#2B5D19 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.113 H 138.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2B5D19
RGBrgb(43, 93, 25)
HSLhsl(104, 58%, 23%)
HSVhsv(104, 73%, 36%)
CMYKcmyk(53.8%, 0%, 73.1%, 63.5%)
CIE-LABlab(34.83, -30.67, 32.55)
CIE-LCHlch(34.83, 44.72, 133.30°)
OKLaboklab(42.79% -0.0845 0.0744)
OKLCHoklch(42.79% 0.113 138.6)
XYZxyz(5.0859, 8.4121, 2.2752)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D19 #4B195D
analogous
#4D5D19 #2B5D19 #195D29
triadic
#2B5D19 #192B5D #5D192B
tetradic
#2B5D19 #194D5D #4B195D #5D2919
square
#2B5D19 #194D5D #4B195D #5D2919
split-complementary
#2B5D19 #29195D #5D194D
monochromatic
#0B1806 #152D0C #2B5D19 #418D26 #58BD33

Accessibility & contrast

On white

7.83
#2B5D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B5D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5D19
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D19#FFFFFF#000000##FFFFFF
##2B5D191.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550F
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#275A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d19;
/* rgb */ color: rgb(43, 93, 25);
/* oklch */ color: oklch(42.8% 0.113 138.6);
Tailwind
colors: {
  custom: {
    50: '#6a8b5a',
    500: '#2b5d19',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d19;
$custom-light: #6a8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d19",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 25
  },
  "hsl": {
    "h": 104.118,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.11259,
    "h": 138.6
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#2B5D19
secondary
#7D3F93
accent
#47E1B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5D19

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

Preview Lab → · Contrast checker → · Palette generator →

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