#155015#155015

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

Color values

HEX#155015
RGBrgb(21, 80, 21)
HSLhsl(120, 58%, 20%)
HSVhsv(120, 74%, 31%)
CMYKcmyk(73.7%, 0%, 73.7%, 68.6%)
CIE-LABlab(29.29, -31.87, 28.26)
CIE-LCHlch(29.29, 42.60, 138.44°)
OKLaboklab(37.99% -0.0865 0.065)
OKLCHoklch(37.99% 0.108 143.1)
XYZxyz(3.3131, 5.9505, 1.6833)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155015 #501550
analogous
#335015 #155015 #155033
triadic
#155015 #151550 #501515
tetradic
#155015 #153350 #501550 #503315
square
#155015 #153350 #501550 #503315
split-complementary
#155015 #331550 #501533
monochromatic
#061806 #082008 #155015 #228022 #2EB12E

Accessibility & contrast

On white

9.59
#155015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155015
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155015#FFFFFF#000000##FFFFFF
##1550151.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#064D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #155015;
/* rgb */ color: rgb(21, 80, 21);
/* oklch */ color: oklch(38.0% 0.108 143.1);
Tailwind
colors: {
  custom: {
    50: '#5c8256',
    500: '#155015',
    950: '#000000',
  },
}
SCSS
$custom: #155015;
$custom-light: #5c8256;
$custom-dark: #000000;
JSON
{
  "hex": "#155015",
  "rgb": {
    "r": 21,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 120,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.10826,
    "h": 143.1
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#155015
secondary
#883988
accent
#46E2E2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #155015

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

Preview Lab → · Contrast checker → · Palette generator →

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