#155F1E#155F1E

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

Color values

HEX#155F1E
RGBrgb(21, 95, 30)
HSLhsl(127, 64%, 23%)
HSVhsv(127, 78%, 37%)
CMYKcmyk(77.9%, 0%, 68.4%, 62.7%)
CIE-LABlab(34.88, -36.62, 30.04)
CIE-LCHlch(34.88, 47.36, 140.64°)
OKLaboklab(42.65% -0.0989 0.0699)
OKLCHoklch(42.65% 0.121 144.8)
XYZxyz(4.6355, 8.4371, 2.6123)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F1E #5F1556
analogous
#315F15 #155F1E #155F43
triadic
#155F1E #1E155F #5F1E15
tetradic
#155F1E #15315F #5F1556 #5F4315
square
#155F1E #15315F #5F1556 #5F4315
split-complementary
#155F1E #43155F #5F1531
monochromatic
#061908 #0A2D0E #155F1E #20912E #2BC33E

Accessibility & contrast

On white

7.81
#155F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155F1E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F1E#FFFFFF#000000##FFFFFF
##155F1E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155f1e;
/* rgb */ color: rgb(21, 95, 30);
/* oklch */ color: oklch(42.6% 0.121 144.8);
Tailwind
colors: {
  custom: {
    50: '#608d5d',
    500: '#155f1e',
    950: '#000000',
  },
}
SCSS
$custom: #155f1e;
$custom-light: #608d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#155f1e",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 30
  },
  "hsl": {
    "h": 127.297,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42648,
    "c": 0.12115,
    "h": 144.8
  },
  "luminance": 0.08438
}

Semantic roles & 50–950 ramp

primary
#155F1E
secondary
#963A8B
accent
#41D3E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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