#2B6020#2B6020

#2B6020 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.111 H 140.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2B6020
RGBrgb(43, 96, 32)
HSLhsl(110, 50%, 25%)
HSVhsv(110, 67%, 38%)
CMYKcmyk(55.2%, 0%, 66.7%, 62.4%)
CIE-LABlab(35.95, -31.25, 30.44)
CIE-LCHlch(35.95, 43.63, 135.74°)
OKLaboklab(43.74% -0.0856 0.0709)
OKLCHoklch(43.74% 0.111 140.4)
XYZxyz(5.4396, 8.9832, 2.8135)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6020 #552060
analogous
#4B6020 #2B6020 #206035
triadic
#2B6020 #202B60 #60202B
tetradic
#2B6020 #204B60 #552060 #603520
square
#2B6020 #204B60 #552060 #603520
split-complementary
#2B6020 #352060 #60204B
monochromatic
#0A1708 #163211 #2B6020 #408E2F #54BC3F

Accessibility & contrast

On white

7.51
#2B6020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2B6020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6020
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6020#FFFFFF#000000##FFFFFF
##2B60201.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635719
Deuteranopia (green-blind)
#5C5325
Tritanopia (blue-blind)
#255D52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b6020;
/* rgb */ color: rgb(43, 96, 32);
/* oklch */ color: oklch(43.7% 0.111 140.4);
Tailwind
colors: {
  custom: {
    50: '#6a8e5e',
    500: '#2b6020',
    950: '#000000',
  },
}
SCSS
$custom: #2b6020;
$custom-light: #6a8e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6020",
  "rgb": {
    "r": 43,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 109.688,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.11111,
    "h": 140.4
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#2B6020
secondary
#874794
accent
#4EDAC2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6020

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

Preview Lab → · Contrast checker → · Palette generator →

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