#2B5D13#2B5D13

#2B5D13 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.117 H 137.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2B5D13
RGBrgb(43, 93, 19)
HSLhsl(101, 66%, 22%)
HSVhsv(101, 80%, 36%)
CMYKcmyk(53.8%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.78, -31.18, 35.05)
CIE-LCHlch(34.78, 46.91, 131.66°)
OKLaboklab(42.74% -0.0863 0.0787)
OKLCHoklch(42.74% 0.117 137.6)
XYZxyz(5.0280, 8.3889, 1.9702)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D13 #45135D
analogous
#505D13 #2B5D13 #135D20
triadic
#2B5D13 #132B5D #5D132B
tetradic
#2B5D13 #13505D #45135D #5D2013
square
#2B5D13 #13505D #45135D #5D2013
split-complementary
#2B5D13 #20135D #5D1350
monochromatic
#0C1905 #142A09 #2B5D13 #42901D #5AC328

Accessibility & contrast

On white

7.84
#2B5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5D13
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D13#FFFFFF#000000##FFFFFF
##2B5D131.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605405
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#28594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5d13;
/* rgb */ color: rgb(43, 93, 19);
/* oklch */ color: oklch(42.7% 0.117 137.6);
Tailwind
colors: {
  custom: {
    50: '#6a8b57',
    500: '#2b5d13',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d13;
$custom-light: #6a8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d13",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 100.541,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.11685,
    "h": 137.6
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#2B5D13
secondary
#763795
accent
#3FE9B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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