#2B5E14#2B5E14

#2B5E14 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.118 H 137.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2B5E14
RGBrgb(43, 94, 20)
HSLhsl(101, 65%, 22%)
HSVhsv(101, 79%, 37%)
CMYKcmyk(54.3%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.14, -31.54, 35.01)
CIE-LCHlch(35.14, 47.12, 132.02°)
OKLaboklab(43.04% -0.0872 0.0788)
OKLCHoklch(43.04% 0.118 137.9)
XYZxyz(5.1251, 8.5691, 2.0456)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E14 #47145E
analogous
#505E14 #2B5E14 #145E22
triadic
#2B5E14 #142B5E #5E142B
tetradic
#2B5E14 #14505E #47145E #5E2214
square
#2B5E14 #14505E #47145E #5E2214
split-complementary
#2B5E14 #22145E #5E1450
monochromatic
#0C1905 #142C09 #2B5E14 #42901F #59C329

Accessibility & contrast

On white

7.74
#2B5E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2B5E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5E14
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E14#FFFFFF#000000##FFFFFF
##2B5E141.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615506
Deuteranopia (green-blind)
#5B511C
Tritanopia (blue-blind)
#275A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5e14;
/* rgb */ color: rgb(43, 94, 20);
/* oklch */ color: oklch(43.0% 0.118 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a8c57',
    500: '#2b5e14',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e14;
$custom-light: #6a8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e14",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 101.351,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.11755,
    "h": 137.9
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#2B5E14
secondary
#793896
accent
#40E8B4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2B5E14

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

Preview Lab → · Contrast checker → · Palette generator →

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