#115212#115212

#115212 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.115 H 143.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#115212
RGBrgb(17, 82, 18)
HSLhsl(121, 66%, 19%)
HSVhsv(121, 79%, 32%)
CMYKcmyk(79.3%, 0%, 78%, 67.8%)
CIE-LABlab(29.90, -33.81, 30.25)
CIE-LCHlch(29.90, 45.36, 138.18°)
OKLaboklab(38.46% -0.0917 0.0688)
OKLCHoklch(38.46% 0.115 143.1)
XYZxyz(3.3574, 6.1971, 1.5914)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#115212 #521151
analogous
#315211 #115212 #115233
triadic
#115212 #121152 #521211
tetradic
#115212 #113152 #521151 #523311
square
#115212 #113152 #521151 #523311
split-complementary
#115212 #331152 #521131
monochromatic
#051906 #061F07 #115212 #1C851D #26B728

Accessibility & contrast

On white

9.38
#115212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#115212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #115212
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##115212#FFFFFF#000000##FFFFFF
##1152121.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A08
Deuteranopia (green-blind)
#4D4418
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #115212;
/* rgb */ color: rgb(17, 82, 18);
/* oklch */ color: oklch(38.5% 0.115 143.1);
Tailwind
colors: {
  custom: {
    50: '#5b8354',
    500: '#115212',
    950: '#000000',
  },
}
SCSS
$custom: #115212;
$custom-light: #5b8354;
$custom-dark: #000000;
JSON
{
  "hex": "#115212",
  "rgb": {
    "r": 17,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 120.923,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38461,
    "c": 0.11467,
    "h": 143.1
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#115212
secondary
#8B348A
accent
#3FE6E9
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #115212

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

Preview Lab → · Contrast checker → · Palette generator →

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