#2B5C16#2B5C16

#2B5C16 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.5% C 0.113 H 138.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2B5C16
RGBrgb(43, 92, 22)
HSLhsl(102, 61%, 22%)
HSVhsv(102, 76%, 36%)
CMYKcmyk(53.3%, 0%, 76.1%, 63.9%)
CIE-LABlab(34.45, -30.50, 33.47)
CIE-LCHlch(34.45, 45.29, 132.34°)
OKLaboklab(42.47% -0.0843 0.0759)
OKLCHoklch(42.47% 0.113 138)
XYZxyz(4.9681, 8.2255, 2.0848)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5C16 #47165C
analogous
#4E5C16 #2B5C16 #165C24
triadic
#2B5C16 #162B5C #5C162B
tetradic
#2B5C16 #164E5C #47165C #5C2416
square
#2B5C16 #164E5C #47165C #5C2416
split-complementary
#2B5C16 #24165C #5C164E
monochromatic
#0C1906 #142B0A #2B5C16 #428D22 #59BF2E

Accessibility & contrast

On white

7.94
#2B5C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B5C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5C16
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5C16#FFFFFF#000000##FFFFFF
##2B5C161.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F540B
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#27594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5c16;
/* rgb */ color: rgb(43, 92, 22);
/* oklch */ color: oklch(42.5% 0.113 138.0);
Tailwind
colors: {
  custom: {
    50: '#6a8b58',
    500: '#2b5c16',
    950: '#000000',
  },
}
SCSS
$custom: #2b5c16;
$custom-light: #6a8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5c16",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 22
  },
  "hsl": {
    "h": 102,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42473,
    "c": 0.11343,
    "h": 138
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#2B5C16
secondary
#793B93
accent
#43E5B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5C16

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

Preview Lab → · Contrast checker → · Palette generator →

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