#155E12#155E12

#155E12 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.2% C 0.129 H 142.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#155E12
RGBrgb(21, 94, 18)
HSLhsl(118, 68%, 22%)
HSVhsv(118, 81%, 37%)
CMYKcmyk(77.7%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.41, -37.48, 34.83)
CIE-LCHlch(34.41, 51.16, 137.10°)
OKLaboklab(42.23% -0.1019 0.0784)
OKLCHoklch(42.23% 0.129 142.4)
XYZxyz(4.4209, 8.2080, 1.9235)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155E12 #5B125E
analogous
#3B5E12 #155E12 #125E35
triadic
#155E12 #12155E #5E1215
tetradic
#155E12 #123B5E #5B125E #5E3512
square
#155E12 #123B5E #5B125E #5E3512
split-complementary
#155E12 #35125E #5E123B
monochromatic
#061A05 #0A2B08 #155E12 #20911C #2CC526

Accessibility & contrast

On white

7.95
#155E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#155E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155E12
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155E12#FFFFFF#000000##FFFFFF
##155E121.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #155e12;
/* rgb */ color: rgb(21, 94, 18);
/* oklch */ color: oklch(42.2% 0.129 142.4);
Tailwind
colors: {
  custom: {
    50: '#608c56',
    500: '#155e12',
    950: '#000000',
  },
}
SCSS
$custom: #155e12;
$custom-light: #608c56;
$custom-dark: #000000;
JSON
{
  "hex": "#155e12",
  "rgb": {
    "r": 21,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 117.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4223,
    "c": 0.12855,
    "h": 142.4
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #155E12

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

Preview Lab → · Contrast checker → · Palette generator →

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