#2B5B14#2B5B14

#2B5B14 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.2% C 0.113 H 137.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2B5B14
RGBrgb(43, 91, 20)
HSLhsl(101, 64%, 22%)
HSVhsv(101, 78%, 36%)
CMYKcmyk(52.7%, 0%, 78%, 64.3%)
CIE-LABlab(34.08, -30.23, 33.94)
CIE-LCHlch(34.08, 45.45, 131.69°)
OKLaboklab(42.16% -0.0837 0.0766)
OKLCHoklch(42.16% 0.113 137.5)
XYZxyz(4.8635, 8.0459, 1.9584)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B14 #44145B
analogous
#4F5B14 #2B5B14 #145B20
triadic
#2B5B14 #142B5B #5B142B
tetradic
#2B5B14 #144F5B #44145B #5B2014
square
#2B5B14 #144F5B #44145B #5B2014
split-complementary
#2B5B14 #20145B #5B144F
monochromatic
#0C1906 #132909 #2B5B14 #438D1F #5ABF2A

Accessibility & contrast

On white

8.05
#2B5B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2B5B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5B14
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B14#FFFFFF#000000##FFFFFF
##2B5B141.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5307
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#28584D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5b14;
/* rgb */ color: rgb(43, 91, 20);
/* oklch */ color: oklch(42.2% 0.113 137.5);
Tailwind
colors: {
  custom: {
    50: '#6a8a57',
    500: '#2b5b14',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b14;
$custom-light: #6a8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b14",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 100.563,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42164,
    "c": 0.11344,
    "h": 137.5
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#2B5B14
secondary
#753893
accent
#41E7B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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