#155F1B#155F1B

#155F1B is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.124 H 144.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#155F1B
RGBrgb(21, 95, 27)
HSLhsl(125, 64%, 23%)
HSVhsv(125, 78%, 37%)
CMYKcmyk(77.9%, 0%, 71.6%, 62.7%)
CIE-LABlab(34.85, -36.97, 31.44)
CIE-LCHlch(34.85, 48.53, 139.63°)
OKLaboklab(42.61% -0.1 0.0725)
OKLCHoklch(42.61% 0.124 144.1)
XYZxyz(4.5990, 8.4225, 2.4200)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F1B #5F1559
analogous
#345F15 #155F1B #155F40
triadic
#155F1B #1B155F #5F1B15
tetradic
#155F1B #15345F #5F1559 #5F4015
square
#155F1B #15345F #5F1559 #5F4015
split-complementary
#155F1B #40155F #5F1534
monochromatic
#061907 #0A2D0D #155F1B #209129 #2BC337

Accessibility & contrast

On white

7.82
#155F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#155F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155F1B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F1B#FFFFFF#000000##FFFFFF
##155F1B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615512
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f1b;
/* rgb */ color: rgb(21, 95, 27);
/* oklch */ color: oklch(42.6% 0.124 144.1);
Tailwind
colors: {
  custom: {
    50: '#608d5b',
    500: '#155f1b',
    950: '#000000',
  },
}
SCSS
$custom: #155f1b;
$custom-light: #608d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#155f1b",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 124.865,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.12357,
    "h": 144.1
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#155F1B
secondary
#963A8F
accent
#41D9E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F1B

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

Preview Lab → · Contrast checker → · Palette generator →

#155F1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva