#155F12#155F12

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

Color values

HEX#155F12
RGBrgb(21, 95, 18)
HSLhsl(118, 68%, 22%)
HSVhsv(118, 81%, 37%)
CMYKcmyk(77.9%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.78, -37.84, 35.19)
CIE-LCHlch(34.78, 51.67, 137.08°)
OKLaboklab(42.53% -0.1029 0.0791)
OKLCHoklch(42.53% 0.13 142.4)
XYZxyz(4.5104, 8.3870, 1.9533)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155F12 #5C125F
analogous
#3C5F12 #155F12 #125F35
triadic
#155F12 #12155F #5F1215
tetradic
#155F12 #123C5F #5C125F #5F3512
square
#155F12 #123C5F #5C125F #5F3512
split-complementary
#155F12 #35125F #5F123C
monochromatic
#061A05 #0A2C08 #155F12 #20921C #2CC625

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##155F12#FFFFFF#000000##FFFFFF
##155F121.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)
#615503
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #155f12;
/* rgb */ color: rgb(21, 95, 18);
/* oklch */ color: oklch(42.5% 0.130 142.4);
Tailwind
colors: {
  custom: {
    50: '#608d56',
    500: '#155f12',
    950: '#000000',
  },
}
SCSS
$custom: #155f12;
$custom-light: #608d56;
$custom-dark: #000000;
JSON
{
  "hex": "#155f12",
  "rgb": {
    "r": 21,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 117.662,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.12979,
    "h": 142.4
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#155F12
secondary
#933697
accent
#3DEBE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78

Preview Lab

Preview with #155F12

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

Preview Lab → · Contrast checker → · Palette generator →

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