#135218#135218

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

Color values

HEX#135218
RGBrgb(19, 82, 24)
HSLhsl(125, 62%, 20%)
HSVhsv(125, 77%, 32%)
CMYKcmyk(76.8%, 0%, 70.7%, 67.8%)
CIE-LABlab(30.01, -32.75, 27.57)
CIE-LCHlch(30.01, 42.81, 139.90°)
OKLaboklab(38.58% -0.0886 0.064)
OKLCHoklch(38.58% 0.109 144.2)
XYZxyz(3.4505, 6.2386, 1.8863)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135218 #52134D
analogous
#2E5213 #135218 #135238
triadic
#135218 #181352 #521813
tetradic
#135218 #132E52 #52134D #523813
square
#135218 #132E52 #52134D #523813
split-complementary
#135218 #381352 #52132E
monochromatic
#061907 #072009 #135218 #1F8427 #2AB535

Accessibility & contrast

On white

9.34
#135218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #135218
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##135218#FFFFFF#000000##FFFFFF
##1352181.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A11
Deuteranopia (green-blind)
#4C451D
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #135218;
/* rgb */ color: rgb(19, 82, 24);
/* oklch */ color: oklch(38.6% 0.109 144.2);
Tailwind
colors: {
  custom: {
    50: '#5c8358',
    500: '#135218',
    950: '#000000',
  },
}
SCSS
$custom: #135218;
$custom-light: #5c8358;
$custom-dark: #000000;
JSON
{
  "hex": "#135218",
  "rgb": {
    "r": 19,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 124.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.10932,
    "h": 144.2
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#135218
secondary
#8A3684
accent
#42D9E5
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #135218

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

Preview Lab → · Contrast checker → · Palette generator →

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