#155117#155117

#155117 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.108 H 143.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#155117
RGBrgb(21, 81, 23)
HSLhsl(122, 59%, 20%)
HSVhsv(122, 74%, 32%)
CMYKcmyk(74.1%, 0%, 71.6%, 68.2%)
CIE-LABlab(29.68, -32.04, 27.72)
CIE-LCHlch(29.68, 42.37, 139.14°)
OKLaboklab(38.32% -0.0869 0.0642)
OKLCHoklch(38.32% 0.108 143.6)
XYZxyz(3.4061, 6.1058, 1.8095)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155117 #51154F
analogous
#315115 #155117 #155135
triadic
#155117 #171551 #511715
tetradic
#155117 #153151 #51154F #513515
square
#155117 #153151 #51154F #513515
split-complementary
#155117 #351551 #511531
monochromatic
#061807 #082009 #155117 #228225 #2EB233

Accessibility & contrast

On white

9.45
#155117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#155117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155117
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155117#FFFFFF#000000##FFFFFF
##1551171.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#054F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #155117;
/* rgb */ color: rgb(21, 81, 23);
/* oklch */ color: oklch(38.3% 0.108 143.6);
Tailwind
colors: {
  custom: {
    50: '#5c8257',
    500: '#155117',
    950: '#000000',
  },
}
SCSS
$custom: #155117;
$custom-light: #5c8257;
$custom-dark: #000000;
JSON
{
  "hex": "#155117",
  "rgb": {
    "r": 21,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 122,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.10801,
    "h": 143.6
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#155117
secondary
#893986
accent
#46DDE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #155117

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

Preview Lab → · Contrast checker → · Palette generator →

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