#2B5B16#2B5B16

#2B5B16 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.112 H 137.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2B5B16
RGBrgb(43, 91, 22)
HSLhsl(102, 61%, 22%)
HSVhsv(102, 76%, 36%)
CMYKcmyk(52.7%, 0%, 75.8%, 64.3%)
CIE-LABlab(34.09, -30.06, 33.11)
CIE-LCHlch(34.09, 44.72, 132.24°)
OKLaboklab(42.18% -0.0831 0.0752)
OKLCHoklch(42.18% 0.112 137.9)
XYZxyz(4.8820, 8.0533, 2.0561)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B16 #46165B
analogous
#4E5B16 #2B5B16 #165B24
triadic
#2B5B16 #162B5B #5B162B
tetradic
#2B5B16 #164E5B #46165B #5B2416
square
#2B5B16 #164E5B #46165B #5B2416
split-complementary
#2B5B16 #24165B #5B164E
monochromatic
#0C1906 #142A0A #2B5B16 #428C22 #5ABE2E

Accessibility & contrast

On white

8.04
#2B5B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5B16
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B16#FFFFFF#000000##FFFFFF
##2B5B161.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530B
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#28584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b16;
/* rgb */ color: rgb(43, 91, 22);
/* oklch */ color: oklch(42.2% 0.112 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a8a58',
    500: '#2b5b16',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b16;
$custom-light: #6a8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b16",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 22
  },
  "hsl": {
    "h": 101.739,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.11203,
    "h": 137.9
  },
  "luminance": 0.08054
}

Semantic roles & 50–950 ramp

primary
#2B5B16
secondary
#783B92
accent
#44E4B3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5B16

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

Preview Lab → · Contrast checker → · Palette generator →

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