#2B5E19#2B5E19

#2B5E19 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.114 H 138.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2B5E19
RGBrgb(43, 94, 25)
HSLhsl(104, 58%, 23%)
HSVhsv(104, 73%, 37%)
CMYKcmyk(54.3%, 0%, 73.4%, 63.1%)
CIE-LABlab(35.18, -31.11, 32.92)
CIE-LCHlch(35.18, 45.29, 133.38°)
OKLaboklab(43.08% -0.0857 0.0752)
OKLCHoklch(43.08% 0.114 138.7)
XYZxyz(5.1742, 8.5888, 2.3047)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E19 #4C195E
analogous
#4D5E19 #2B5E19 #195E29
triadic
#2B5E19 #192B5E #5E192B
tetradic
#2B5E19 #194D5E #4C195E #5E2919
square
#2B5E19 #194D5E #4C195E #5E2919
split-complementary
#2B5E19 #29195E #5E194D
monochromatic
#0B1806 #152E0C #2B5E19 #418E26 #57BF33

Accessibility & contrast

On white

7.73
#2B5E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B5E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E19
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E19#FFFFFF#000000##FFFFFF
##2B5E191.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550F
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e19;
/* rgb */ color: rgb(43, 94, 25);
/* oklch */ color: oklch(43.1% 0.114 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a8c5a',
    500: '#2b5e19',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e19;
$custom-light: #6a8c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e19",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 25
  },
  "hsl": {
    "h": 104.348,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43083,
    "c": 0.114,
    "h": 138.7
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#2B5E19
secondary
#7E3F94
accent
#47E1B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5E19

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

Preview Lab → · Contrast checker → · Palette generator →

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