#135217#135217

#135217 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.110 H 143.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#135217
RGBrgb(19, 82, 23)
HSLhsl(124, 62%, 20%)
HSVhsv(124, 77%, 32%)
CMYKcmyk(76.8%, 0%, 72%, 67.8%)
CIE-LABlab(30.00, -32.87, 28.05)
CIE-LCHlch(30.00, 43.21, 139.52°)
OKLaboklab(38.57% -0.089 0.0649)
OKLCHoklch(38.57% 0.11 143.9)
XYZxyz(3.4403, 6.2345, 1.8325)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135217 #52134E
analogous
#2E5213 #135217 #135237
triadic
#135217 #171352 #521713
tetradic
#135217 #132E52 #52134E #523713
square
#135217 #132E52 #52134E #523713
split-complementary
#135217 #371352 #52132E
monochromatic
#061907 #072009 #135217 #1F8425 #2AB533

Accessibility & contrast

On white

9.35
#135217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#135217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #135217
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##135217#FFFFFF#000000##FFFFFF
##1352171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0F
Deuteranopia (green-blind)
#4C451C
Tritanopia (blue-blind)
#015046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #135217;
/* rgb */ color: rgb(19, 82, 23);
/* oklch */ color: oklch(38.6% 0.110 143.9);
Tailwind
colors: {
  custom: {
    50: '#5c8357',
    500: '#135217',
    950: '#000000',
  },
}
SCSS
$custom: #135217;
$custom-light: #5c8357;
$custom-dark: #000000;
JSON
{
  "hex": "#135217",
  "rgb": {
    "r": 19,
    "g": 82,
    "b": 23
  },
  "hsl": {
    "h": 123.81,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.11015,
    "h": 143.9
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#135217
secondary
#8A3685
accent
#42DBE5
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #135217

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

Preview Lab → · Contrast checker → · Palette generator →

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