#135228#135228

#135228 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.094 H 150.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#135228
RGBrgb(19, 82, 40)
HSLhsl(140, 62%, 20%)
HSVhsv(140, 77%, 32%)
CMYKcmyk(76.8%, 0%, 51.2%, 67.8%)
CIE-LABlab(30.22, -30.25, 19.05)
CIE-LCHlch(30.22, 35.75, 147.80°)
OKLaboklab(38.82% -0.0814 0.0466)
OKLCHoklch(38.82% 0.094 150.2)
XYZxyz(3.6686, 6.3258, 3.0347)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135228 #52133D
analogous
#1E5213 #135228 #135248
triadic
#135228 #281352 #522813
tetradic
#135228 #131E52 #52133D #524813
square
#135228 #131E52 #52133D #524813
split-complementary
#135228 #481352 #52131E
monochromatic
#06190C #072010 #135228 #1F8440 #2AB558

Accessibility & contrast

On white

9.27
#135228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#135228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #135228
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##135228#FFFFFF#000000##FFFFFF
##1352281.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A25
Deuteranopia (green-blind)
#4B452B
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #135228;
/* rgb */ color: rgb(19, 82, 40);
/* oklch */ color: oklch(38.8% 0.094 150.2);
Tailwind
colors: {
  custom: {
    50: '#5b8362',
    500: '#135228',
    950: '#000000',
  },
}
SCSS
$custom: #135228;
$custom-light: #5b8362;
$custom-dark: #000000;
JSON
{
  "hex": "#135228",
  "rgb": {
    "r": 19,
    "g": 82,
    "b": 40
  },
  "hsl": {
    "h": 140,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38823,
    "c": 0.09382,
    "h": 150.2
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#135228
secondary
#8A366E
accent
#42AFE5
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #135228

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

Preview Lab → · Contrast checker → · Palette generator →

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