#2B5A14#2B5A14

#2B5A14 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.112 H 137.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2B5A14
RGBrgb(43, 90, 20)
HSLhsl(100, 64%, 22%)
HSVhsv(100, 78%, 35%)
CMYKcmyk(52.2%, 0%, 77.8%, 64.7%)
CIE-LABlab(33.72, -29.79, 33.58)
CIE-LCHlch(33.72, 44.89, 131.57°)
OKLaboklab(41.87% -0.0825 0.0758)
OKLCHoklch(41.87% 0.112 137.4)
XYZxyz(4.7785, 7.8761, 1.9301)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5A14 #43145A
analogous
#4E5A14 #2B5A14 #145A20
triadic
#2B5A14 #142B5A #5A142B
tetradic
#2B5A14 #144E5A #43145A #5A2014
square
#2B5A14 #144E5A #43145A #5A2014
split-complementary
#2B5A14 #20145A #5A144E
monochromatic
#0C1906 #132809 #2B5A14 #438C1F #5BBE2A

Accessibility & contrast

On white

8.15
#2B5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B5A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5A14
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5A14#FFFFFF#000000##FFFFFF
##2B5A141.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5208
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#28574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5a14;
/* rgb */ color: rgb(43, 90, 20);
/* oklch */ color: oklch(41.9% 0.112 137.4);
Tailwind
colors: {
  custom: {
    50: '#6a8957',
    500: '#2b5a14',
    950: '#000000',
  },
}
SCSS
$custom: #2b5a14;
$custom-light: #6a8957;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5a14",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 100.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.11206,
    "h": 137.4
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#2B5A14
secondary
#743892
accent
#41E7B0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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