#2B5D16#2B5D16

#2B5D16 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.8% C 0.115 H 138.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2B5D16
RGBrgb(43, 93, 22)
HSLhsl(102, 62%, 23%)
HSVhsv(102, 76%, 36%)
CMYKcmyk(53.8%, 0%, 76.3%, 63.5%)
CIE-LABlab(34.80, -30.94, 33.84)
CIE-LCHlch(34.80, 45.85, 132.44°)
OKLaboklab(42.76% -0.0855 0.0767)
OKLCHoklch(42.76% 0.115 138.1)
XYZxyz(5.0553, 8.3999, 2.1138)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D16 #48165D
analogous
#4E5D16 #2B5D16 #165D25
triadic
#2B5D16 #162B5D #5D162B
tetradic
#2B5D16 #164E5D #48165D #5D2516
square
#2B5D16 #164E5D #48165D #5D2516
split-complementary
#2B5D16 #25165D #5D164E
monochromatic
#0B1906 #142C0A #2B5D16 #428E22 #59C02D

Accessibility & contrast

On white

7.84
#2B5D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2B5D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5D16
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D16#FFFFFF#000000##FFFFFF
##2B5D161.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540A
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#275A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d16;
/* rgb */ color: rgb(43, 93, 22);
/* oklch */ color: oklch(42.8% 0.115 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a8b58',
    500: '#2b5d16',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d16;
$custom-light: #6a8b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d16",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 22
  },
  "hsl": {
    "h": 102.254,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.11482,
    "h": 138.1
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#2B5D16
secondary
#7A3B94
accent
#43E5B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5D16

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

Preview Lab → · Contrast checker → · Palette generator →

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