#2B6315#2B6315

#2B6315 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.5% C 0.124 H 138.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2B6315
RGBrgb(43, 99, 21)
HSLhsl(103, 65%, 24%)
HSVhsv(103, 79%, 39%)
CMYKcmyk(56.6%, 0%, 78.8%, 61.2%)
CIE-LABlab(36.91, -33.59, 36.37)
CIE-LCHlch(36.91, 49.51, 132.72°)
OKLaboklab(44.5% -0.0927 0.0818)
OKLCHoklch(44.5% 0.124 138.6)
XYZxyz(5.5932, 9.4910, 2.2465)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6315 #4D1563
analogous
#526315 #2B6315 #156326
triadic
#2B6315 #152B63 #63152B
tetradic
#2B6315 #155263 #4D1563 #632615
square
#2B6315 #155263 #4D1563 #632615
split-complementary
#2B6315 #261563 #631552
monochromatic
#0B1905 #15310A #2B6315 #419520 #57C82A

Accessibility & contrast

On white

7.25
#2B6315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B6315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B6315
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6315#FFFFFF#000000##FFFFFF
##2B63151.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A06
Deuteranopia (green-blind)
#5F551D
Tritanopia (blue-blind)
#265F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b6315;
/* rgb */ color: rgb(43, 99, 21);
/* oklch */ color: oklch(44.5% 0.124 138.6);
Tailwind
colors: {
  custom: {
    50: '#6b9058',
    500: '#2b6315',
    950: '#000000',
  },
}
SCSS
$custom: #2b6315;
$custom-light: #6b9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6315",
  "rgb": {
    "r": 43,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 103.077,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.445,
    "c": 0.12364,
    "h": 138.6
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#2B6315
secondary
#7F3A9A
accent
#40E8B9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B6315

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

Preview Lab → · Contrast checker → · Palette generator →

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