#2B5C17#2B5C17

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

Color values

HEX#2B5C17
RGBrgb(43, 92, 23)
HSLhsl(103, 60%, 23%)
HSVhsv(103, 75%, 36%)
CMYKcmyk(53.3%, 0%, 75%, 63.9%)
CIE-LABlab(34.46, -30.41, 33.05)
CIE-LCHlch(34.46, 44.91, 132.62°)
OKLaboklab(42.48% -0.084 0.0752)
OKLCHoklch(42.48% 0.113 138.2)
XYZxyz(4.9779, 8.2294, 2.1366)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5C17 #48175C
analogous
#4D5C17 #2B5C17 #175C26
triadic
#2B5C17 #172B5C #5C172B
tetradic
#2B5C17 #174D5C #48175C #5C2617
square
#2B5C17 #174D5C #48175C #5C2617
split-complementary
#2B5C17 #26175C #5C174D
monochromatic
#0B1806 #142B0B #2B5C17 #428D23 #59BE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5C17#FFFFFF#000000##FFFFFF
##2B5C171.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)
#5F540C
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#27594E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5c17;
/* rgb */ color: rgb(43, 92, 23);
/* oklch */ color: oklch(42.5% 0.113 138.2);
Tailwind
colors: {
  custom: {
    50: '#6a8b59',
    500: '#2b5c17',
    950: '#000000',
  },
}
SCSS
$custom: #2b5c17;
$custom-light: #6a8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5c17",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 23
  },
  "hsl": {
    "h": 102.609,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.1127,
    "h": 138.2
  },
  "luminance": 0.0823
}

Semantic roles & 50–950 ramp

primary
#2B5C17
secondary
#7A3C93
accent
#45E3B5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5C17

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

Preview Lab → · Contrast checker → · Palette generator →

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