#2B5F13#2B5F13

#2B5F13 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.3% C 0.120 H 137.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5F13
RGBrgb(43, 95, 19)
HSLhsl(101, 67%, 22%)
HSVhsv(101, 80%, 37%)
CMYKcmyk(54.7%, 0%, 80%, 62.7%)
CIE-LABlab(35.49, -32.05, 35.74)
CIE-LCHlch(35.49, 48.01, 131.88°)
OKLaboklab(43.32% -0.0887 0.0802)
OKLCHoklch(43.32% 0.12 137.9)
XYZxyz(5.2058, 8.7446, 2.0295)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F13 #47135F
analogous
#515F13 #2B5F13 #135F21
triadic
#2B5F13 #132B5F #5F132B
tetradic
#2B5F13 #13515F #47135F #5F2113
square
#2B5F13 #13515F #47135F #5F2113
split-complementary
#2B5F13 #21135F #5F1351
monochromatic
#0C1A05 #142C09 #2B5F13 #42921D #59C527

Accessibility & contrast

On white

7.64
#2B5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5F13
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F13#FFFFFF#000000##FFFFFF
##2B5F131.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#275B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5f13;
/* rgb */ color: rgb(43, 95, 19);
/* oklch */ color: oklch(43.3% 0.120 137.9);
Tailwind
colors: {
  custom: {
    50: '#6b8d57',
    500: '#2b5f13',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f13;
$custom-light: #6b8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f13",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 101.053,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.11955,
    "h": 137.9
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#2B5F13
secondary
#793797
accent
#3EEAB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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