#155F1C#155F1C

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

Color values

HEX#155F1C
RGBrgb(21, 95, 28)
HSLhsl(126, 64%, 23%)
HSVhsv(126, 78%, 37%)
CMYKcmyk(77.9%, 0%, 70.5%, 62.7%)
CIE-LABlab(34.86, -36.86, 30.98)
CIE-LCHlch(34.86, 48.15, 139.95°)
OKLaboklab(42.63% -0.0997 0.0717)
OKLCHoklch(42.63% 0.123 144.3)
XYZxyz(4.6108, 8.4272, 2.4820)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F1C #5F1558
analogous
#335F15 #155F1C #155F41
triadic
#155F1C #1C155F #5F1C15
tetradic
#155F1C #15335F #5F1558 #5F4115
square
#155F1C #15335F #5F1558 #5F4115
split-complementary
#155F1C #41155F #5F1533
monochromatic
#061907 #0A2D0D #155F1C #20912B #2BC33A

Accessibility & contrast

On white

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

On black

2.69
#155F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##155F1C#FFFFFF#000000##FFFFFF
##155F1C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155f1c;
/* rgb */ color: rgb(21, 95, 28);
/* oklch */ color: oklch(42.6% 0.123 144.3);
Tailwind
colors: {
  custom: {
    50: '#608d5c',
    500: '#155f1c',
    950: '#000000',
  },
}
SCSS
$custom: #155f1c;
$custom-light: #608d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#155f1c",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 125.676,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.12278,
    "h": 144.3
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#155F1C
secondary
#963A8E
accent
#41D7E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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