#155F1F#155F1F

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

Color values

HEX#155F1F
RGBrgb(21, 95, 31)
HSLhsl(128, 64%, 23%)
HSVhsv(128, 78%, 37%)
CMYKcmyk(77.9%, 0%, 67.4%, 62.7%)
CIE-LABlab(34.89, -36.49, 29.55)
CIE-LCHlch(34.89, 46.96, 141.00°)
OKLaboklab(42.66% -0.0986 0.069)
OKLCHoklch(42.66% 0.12 145)
XYZxyz(4.6485, 8.4422, 2.6806)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F1F #5F1555
analogous
#305F15 #155F1F #155F44
triadic
#155F1F #1F155F #5F1F15
tetradic
#155F1F #15305F #5F1555 #5F4415
square
#155F1F #15305F #5F1555 #5F4415
split-complementary
#155F1F #44155F #5F1530
monochromatic
#061908 #0A2D0F #155F1F #20912F #2BC340

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155F1F#FFFFFF#000000##FFFFFF
##155F1F1.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)
#615618
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f1f;
/* rgb */ color: rgb(21, 95, 31);
/* oklch */ color: oklch(42.7% 0.120 145.0);
Tailwind
colors: {
  custom: {
    50: '#608d5d',
    500: '#155f1f',
    950: '#000000',
  },
}
SCSS
$custom: #155f1f;
$custom-light: #608d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#155f1f",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 128.108,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.12031,
    "h": 145
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#155F1F
secondary
#963A8A
accent
#41D0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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