#115012#115012

#115012 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.112 H 143.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#115012
RGBrgb(17, 80, 18)
HSLhsl(121, 65%, 19%)
HSVhsv(121, 79%, 31%)
CMYKcmyk(78.8%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.16, -33.05, 29.47)
CIE-LCHlch(29.16, 44.28, 138.27°)
OKLaboklab(37.84% -0.0897 0.0672)
OKLCHoklch(37.84% 0.112 143.1)
XYZxyz(3.2088, 5.8998, 1.5418)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#115012 #50114F
analogous
#305011 #115012 #115032
triadic
#115012 #121150 #501211
tetradic
#115012 #113050 #50114F #503211
square
#115012 #113050 #50114F #503211
split-complementary
#115012 #321150 #501130
monochromatic
#051906 #061E07 #115012 #1C821D #26B529

Accessibility & contrast

On white

9.63
#115012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#115012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #115012
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##115012#FFFFFF#000000##FFFFFF
##1150121.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #115012;
/* rgb */ color: rgb(17, 80, 18);
/* oklch */ color: oklch(37.8% 0.112 143.1);
Tailwind
colors: {
  custom: {
    50: '#5b8254',
    500: '#115012',
    950: '#000000',
  },
}
SCSS
$custom: #115012;
$custom-light: #5b8254;
$custom-dark: #000000;
JSON
{
  "hex": "#115012",
  "rgb": {
    "r": 17,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 120.952,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.11205,
    "h": 143.1
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#115012
secondary
#893388
accent
#40E5E8
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040A03
muted
#797C78

Preview Lab

Preview with #115012

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

Preview Lab → · Contrast checker → · Palette generator →

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