#155F15#155F15

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

Color values

HEX#155F15
RGBrgb(21, 95, 21)
HSLhsl(120, 64%, 23%)
HSVhsv(120, 78%, 37%)
CMYKcmyk(77.9%, 0%, 77.9%, 62.7%)
CIE-LABlab(34.80, -37.58, 34.02)
CIE-LCHlch(34.80, 50.70, 137.85°)
OKLaboklab(42.56% -0.102 0.0771)
OKLCHoklch(42.56% 0.128 142.9)
XYZxyz(4.5365, 8.3975, 2.0911)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F15 #5F155F
analogous
#3A5F15 #155F15 #155F3A
triadic
#155F15 #15155F #5F1515
tetradic
#155F15 #153A5F #5F155F #5F3A15
square
#155F15 #153A5F #5F155F #5F3A15
split-complementary
#155F15 #3A155F #5F153A
monochromatic
#061906 #0A2D0A #155F15 #209120 #2BC32B

Accessibility & contrast

On white

7.84
#155F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155F15
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F15#FFFFFF#000000##FFFFFF
##155F151.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f15;
/* rgb */ color: rgb(21, 95, 21);
/* oklch */ color: oklch(42.6% 0.128 142.9);
Tailwind
colors: {
  custom: {
    50: '#608d58',
    500: '#155f15',
    950: '#000000',
  },
}
SCSS
$custom: #155f15;
$custom-light: #608d58;
$custom-dark: #000000;
JSON
{
  "hex": "#155f15",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.1279,
    "h": 142.9
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#155F15
secondary
#963A96
accent
#41E7E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #155F15

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

Preview Lab → · Contrast checker → · Palette generator →

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