#2B6210#2B6210

#2B6210 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.125 H 137.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2B6210
RGBrgb(43, 98, 16)
HSLhsl(100, 72%, 22%)
HSVhsv(100, 84%, 38%)
CMYKcmyk(56.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.53, -33.53, 37.84)
CIE-LCHlch(36.53, 50.56, 131.54°)
OKLaboklab(44.17% -0.0928 0.0841)
OKLCHoklch(44.17% 0.125 137.8)
XYZxyz(5.4573, 9.2859, 1.9949)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6210 #471062
analogous
#546210 #2B6210 #10621E
triadic
#2B6210 #102B62 #62102B
tetradic
#2B6210 #105462 #471062 #621E10
square
#2B6210 #105462 #471062 #621E10
split-complementary
#2B6210 #1E1062 #621054
monochromatic
#0C1A04 #142D07 #2B6210 #429719 #59CB21

Accessibility & contrast

On white

7.35
#2B6210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2B6210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6210
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6210#FFFFFF#000000##FFFFFF
##2B62101.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#275E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b6210;
/* rgb */ color: rgb(43, 98, 16);
/* oklch */ color: oklch(44.2% 0.125 137.8);
Tailwind
colors: {
  custom: {
    50: '#6b8f56',
    500: '#2b6210',
    950: '#000000',
  },
}
SCSS
$custom: #2b6210;
$custom-light: #6b8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6210",
  "rgb": {
    "r": 43,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 100.244,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44173,
    "c": 0.12526,
    "h": 137.8
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#2B6210
secondary
#79339B
accent
#39EFB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B6210

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

Preview Lab → · Contrast checker → · Palette generator →

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