#2B5D18#2B5D18

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

Color values

HEX#2B5D18
RGBrgb(43, 93, 24)
HSLhsl(103, 59%, 23%)
HSVhsv(103, 74%, 36%)
CMYKcmyk(53.8%, 0%, 74.2%, 63.5%)
CIE-LABlab(34.82, -30.76, 32.98)
CIE-LCHlch(34.82, 45.10, 133.00°)
OKLaboklab(42.78% -0.0848 0.0752)
OKLCHoklch(42.78% 0.113 138.5)
XYZxyz(5.0753, 8.4079, 2.2194)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D18 #4A185D
analogous
#4D5D18 #2B5D18 #185D27
triadic
#2B5D18 #182B5D #5D182B
tetradic
#2B5D18 #184D5D #4A185D #5D2718
square
#2B5D18 #184D5D #4A185D #5D2718
split-complementary
#2B5D18 #27185D #5D184D
monochromatic
#0B1806 #152C0B #2B5D18 #418E25 #58BE31

Accessibility & contrast

On white

7.83
#2B5D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5D18
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D18#FFFFFF#000000##FFFFFF
##2B5D181.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540E
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#275A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d18;
/* rgb */ color: rgb(43, 93, 24);
/* oklch */ color: oklch(42.8% 0.113 138.5);
Tailwind
colors: {
  custom: {
    50: '#6a8b59',
    500: '#2b5d18',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d18;
$custom-light: #6a8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d18",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 103.478,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.11336,
    "h": 138.5
  },
  "luminance": 0.08408
}

Semantic roles & 50–950 ramp

primary
#2B5D18
secondary
#7C3D93
accent
#46E2B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2B5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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