#155A0F#155A0F

#155A0F is a dark, vivid green. Relative luminance 0.075; OKLCH L 41.0% C 0.125 H 142.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#155A0F
RGBrgb(21, 90, 15)
HSLhsl(115, 71%, 21%)
HSVhsv(115, 83%, 35%)
CMYKcmyk(76.7%, 0%, 83.3%, 64.7%)
CIE-LABlab(32.93, -36.25, 34.50)
CIE-LCHlch(32.93, 50.05, 136.42°)
OKLaboklab(40.99% -0.0987 0.0772)
OKLCHoklch(40.99% 0.125 142)
XYZxyz(4.0514, 7.5058, 1.6871)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155A0F #540F5A
analogous
#3A5A0F #155A0F #0F5A2E
triadic
#155A0F #0F155A #5A0F15
tetradic
#155A0F #0F3A5A #540F5A #5A2E0F
square
#155A0F #0F3A5A #540F5A #5A2E0F
split-complementary
#155A0F #2E0F5A #5A0F3A
monochromatic
#061A04 #092606 #155A0F #218E18 #2DC320

Accessibility & contrast

On white

8.40
#155A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#155A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155A0F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155A0F#FFFFFF#000000##FFFFFF
##155A0F1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#02574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #155a0f;
/* rgb */ color: rgb(21, 90, 15);
/* oklch */ color: oklch(41.0% 0.125 142.0);
Tailwind
colors: {
  custom: {
    50: '#5f8954',
    500: '#155a0f',
    950: '#000000',
  },
}
SCSS
$custom: #155a0f;
$custom-light: #5f8954;
$custom-dark: #000000;
JSON
{
  "hex": "#155a0f",
  "rgb": {
    "r": 21,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 115.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.12535,
    "h": 142
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#155A0F
secondary
#8C3194
accent
#3AEEE0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #155A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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