#2B5019#2B5019

#2B5019 is a dark, moderate green. Relative luminance 0.063; OKLCH L 39.0% C 0.093 H 136.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2B5019
RGBrgb(43, 80, 25)
HSLhsl(100, 52%, 21%)
HSVhsv(100, 69%, 31%)
CMYKcmyk(46.2%, 0%, 68.8%, 68.6%)
CIE-LABlab(30.21, -24.67, 27.55)
CIE-LCHlch(30.21, 36.98, 131.84°)
OKLaboklab(39% -0.0682 0.0639)
OKLCHoklch(39% 0.093 136.9)
XYZxyz(4.0403, 6.3209, 1.9267)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5019 #3E1950
analogous
#465019 #2B5019 #195022
triadic
#2B5019 #192B50 #50192B
tetradic
#2B5019 #194650 #3E1950 #502219
square
#2B5019 #194650 #3E1950 #502219
split-complementary
#2B5019 #221950 #501946
monochromatic
#0D1707 #12210A #2B5019 #447F28 #5DAD36

Accessibility & contrast

On white

9.27
#2B5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5019
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5019#FFFFFF#000000##FFFFFF
##2B50191.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534912
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#294D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b5019;
/* rgb */ color: rgb(43, 80, 25);
/* oklch */ color: oklch(39.0% 0.093 136.9);
Tailwind
colors: {
  custom: {
    50: '#688158',
    500: '#2b5019',
    950: '#000000',
  },
}
SCSS
$custom: #2b5019;
$custom-light: #688158;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5019",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 100.364,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.09345,
    "h": 136.9
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#2B5019
secondary
#6F3E86
accent
#4CDCAD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5019

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

Preview Lab → · Contrast checker → · Palette generator →

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