#155F18#155F18

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

Color values

HEX#155F18
RGBrgb(21, 95, 24)
HSLhsl(122, 64%, 23%)
HSVhsv(122, 78%, 37%)
CMYKcmyk(77.9%, 0%, 74.7%, 62.7%)
CIE-LABlab(34.82, -37.29, 32.77)
CIE-LCHlch(34.82, 49.64, 138.70°)
OKLaboklab(42.58% -0.1011 0.0749)
OKLCHoklch(42.58% 0.126 143.5)
XYZxyz(4.5661, 8.4093, 2.2465)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F18 #5F155C
analogous
#375F15 #155F18 #155F3D
triadic
#155F18 #18155F #5F1815
tetradic
#155F18 #15375F #5F155C #5F3D15
square
#155F18 #15375F #5F155C #5F3D15
split-complementary
#155F18 #3D155F #5F1537
monochromatic
#061906 #0A2D0B #155F18 #209125 #2BC331

Accessibility & contrast

On white

7.83
#155F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155F18
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155F18#FFFFFF#000000##FFFFFF
##155F181.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #155f18;
/* rgb */ color: rgb(21, 95, 24);
/* oklch */ color: oklch(42.6% 0.126 143.5);
Tailwind
colors: {
  custom: {
    50: '#608d59',
    500: '#155f18',
    950: '#000000',
  },
}
SCSS
$custom: #155f18;
$custom-light: #608d59;
$custom-dark: #000000;
JSON
{
  "hex": "#155f18",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 122.432,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.12582,
    "h": 143.5
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#155F18
secondary
#963A93
accent
#41E0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79

Preview Lab

Preview with #155F18

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

Preview Lab → · Contrast checker → · Palette generator →

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