#2B5219#2B5219

#2B5219 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.6% C 0.097 H 137.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2B5219
RGBrgb(43, 82, 25)
HSLhsl(101, 53%, 21%)
HSVhsv(101, 70%, 32%)
CMYKcmyk(47.6%, 0%, 69.5%, 67.8%)
CIE-LABlab(30.92, -25.63, 28.34)
CIE-LCHlch(30.92, 38.21, 132.13°)
OKLaboklab(39.59% -0.0708 0.0655)
OKLCHoklch(39.59% 0.097 137.2)
XYZxyz(4.1889, 6.6181, 1.9762)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5219 #401952
analogous
#475219 #2B5219 #195223
triadic
#2B5219 #192B52 #52192B
tetradic
#2B5219 #194752 #401952 #522319
square
#2B5219 #194752 #401952 #522319
split-complementary
#2B5219 #231952 #521947
monochromatic
#0C1707 #12230B #2B5219 #448127 #5CB036

Accessibility & contrast

On white

9.04
#2B5219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B5219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5219
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5219#FFFFFF#000000##FFFFFF
##2B52191.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#294F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b5219;
/* rgb */ color: rgb(43, 82, 25);
/* oklch */ color: oklch(39.6% 0.097 137.2);
Tailwind
colors: {
  custom: {
    50: '#688358',
    500: '#2b5219',
    950: '#000000',
  },
}
SCSS
$custom: #2b5219;
$custom-light: #688358;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5219",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 101.053,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.09651,
    "h": 137.2
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#2B5219
secondary
#713E88
accent
#4BDDAF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2B5219

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

Preview Lab → · Contrast checker → · Palette generator →

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