#155012#155012

#155012 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.111 H 142.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#155012
RGBrgb(21, 80, 18)
HSLhsl(117, 63%, 19%)
HSVhsv(117, 78%, 31%)
CMYKcmyk(73.7%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.26, -32.19, 29.61)
CIE-LCHlch(29.26, 43.74, 137.39°)
OKLaboklab(37.96% -0.0876 0.0675)
OKLCHoklch(37.96% 0.111 142.4)
XYZxyz(3.2869, 5.9401, 1.5455)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#155012 #4D1250
analogous
#345012 #155012 #12502E
triadic
#155012 #121550 #501215
tetradic
#155012 #123450 #4D1250 #502E12
square
#155012 #123450 #4D1250 #502E12
split-complementary
#155012 #2E1250 #501234
monochromatic
#071906 #081E07 #155012 #22821D #2FB428

Accessibility & contrast

On white

9.60
#155012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #155012
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##155012#FFFFFF#000000##FFFFFF
##1550121.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#074D44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #155012;
/* rgb */ color: rgb(21, 80, 18);
/* oklch */ color: oklch(38.0% 0.111 142.4);
Tailwind
colors: {
  custom: {
    50: '#5c8254',
    500: '#155012',
    950: '#000000',
  },
}
SCSS
$custom: #155012;
$custom-light: #5c8254;
$custom-dark: #000000;
JSON
{
  "hex": "#155012",
  "rgb": {
    "r": 21,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 117.097,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.11056,
    "h": 142.4
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#155012
secondary
#853589
accent
#41E6DE
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#050A03
muted
#797C78

Preview Lab

Preview with #155012

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

Preview Lab → · Contrast checker → · Palette generator →

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