#2B5A15#2B5A15

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

Color values

HEX#2B5A15
RGBrgb(43, 90, 21)
HSLhsl(101, 62%, 22%)
HSVhsv(101, 77%, 35%)
CMYKcmyk(52.2%, 0%, 76.7%, 64.7%)
CIE-LABlab(33.73, -29.70, 33.17)
CIE-LCHlch(33.73, 44.52, 131.85°)
OKLaboklab(41.88% -0.0822 0.0751)
OKLCHoklch(41.88% 0.111 137.6)
XYZxyz(4.7876, 7.8797, 1.9780)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5A15 #44155A
analogous
#4E5A15 #2B5A15 #155A22
triadic
#2B5A15 #152B5A #5A152B
tetradic
#2B5A15 #154E5A #44155A #5A2215
square
#2B5A15 #154E5A #44155A #5A2215
split-complementary
#2B5A15 #22155A #5A154E
monochromatic
#0C1906 #132809 #2B5A15 #438C21 #5ABD2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5A15#FFFFFF#000000##FFFFFF
##2B5A151.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)
#5D5209
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#28574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5a15;
/* rgb */ color: rgb(43, 90, 21);
/* oklch */ color: oklch(41.9% 0.111 137.6);
Tailwind
colors: {
  custom: {
    50: '#6a8957',
    500: '#2b5a15',
    950: '#000000',
  },
}
SCSS
$custom: #2b5a15;
$custom-light: #6a8957;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5a15",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 21
  },
  "hsl": {
    "h": 100.87,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41881,
    "c": 0.11135,
    "h": 137.6
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#2B5A15
secondary
#753992
accent
#43E5B1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2B5A15

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

Preview Lab → · Contrast checker → · Palette generator →

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