#158115#158115

#158115 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.168 H 142.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#158115
RGBrgb(21, 129, 21)
HSLhsl(120, 72%, 29%)
HSVhsv(120, 84%, 51%)
CMYKcmyk(83.7%, 0%, 83.7%, 49.4%)
CIE-LABlab(46.86, -49.17, 45.75)
CIE-LCHlch(46.86, 67.16, 137.07°)
OKLaboklab(52.59% -0.1335 0.1016)
OKLCHoklch(52.59% 0.168 142.7)
XYZxyz(8.2943, 15.9131, 3.3437)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#158115 #811581
analogous
#4B8115 #158115 #15814B
triadic
#158115 #151581 #811515
tetradic
#158115 #154B81 #811581 #814B15
square
#158115 #154B81 #811581 #814B15
split-complementary
#158115 #4B1581 #81154B
monochromatic
#041A04 #0C4C0C #158115 #1EB61E #33DE33

Accessibility & contrast

On white

5.02
#158115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#158115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #158115
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##158115#FFFFFF#000000##FFFFFF
##1581151.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #158115;
/* rgb */ color: rgb(21, 129, 21);
/* oklch */ color: oklch(52.6% 0.168 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa75d',
    500: '#158115',
    950: '#000000',
  },
}
SCSS
$custom: #158115;
$custom-light: #6aa75d;
$custom-dark: #000000;
JSON
{
  "hex": "#158115",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.16773,
    "h": 142.7
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#158115
secondary
#B63CB6
accent
#39EFEF
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #158115

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

Preview Lab → · Contrast checker → · Palette generator →

#158115 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva