#155017#155017

#155017 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.107 H 143.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#155017
RGBrgb(21, 80, 23)
HSLhsl(122, 58%, 20%)
HSVhsv(122, 74%, 31%)
CMYKcmyk(73.7%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.31, -31.64, 27.31)
CIE-LCHlch(29.31, 41.80, 139.20°)
OKLaboklab(38.01% -0.0858 0.0633)
OKLCHoklch(38.01% 0.107 143.6)
XYZxyz(3.3324, 5.9583, 1.7849)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155017 #50154E
analogous
#315015 #155017 #155035
triadic
#155017 #171550 #501715
tetradic
#155017 #153150 #50154E #503515
square
#155017 #153150 #50154E #503515
split-complementary
#155017 #351550 #501531
monochromatic
#061807 #082009 #155017 #228025 #2EB133

Accessibility & contrast

On white

9.58
#155017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#155017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #155017
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155017#FFFFFF#000000##FFFFFF
##1550171.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4B431C
Tritanopia (blue-blind)
#064E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #155017;
/* rgb */ color: rgb(21, 80, 23);
/* oklch */ color: oklch(38.0% 0.107 143.6);
Tailwind
colors: {
  custom: {
    50: '#5c8257',
    500: '#155017',
    950: '#000000',
  },
}
SCSS
$custom: #155017;
$custom-light: #5c8257;
$custom-dark: #000000;
JSON
{
  "hex": "#155017",
  "rgb": {
    "r": 21,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 122.034,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.10663,
    "h": 143.6
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#155017
secondary
#883985
accent
#46DCE2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #155017

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

Preview Lab → · Contrast checker → · Palette generator →

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