#135227#135227

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

Color values

HEX#135227
RGBrgb(19, 82, 39)
HSLhsl(139, 62%, 20%)
HSVhsv(139, 77%, 32%)
CMYKcmyk(76.8%, 0%, 52.4%, 67.8%)
CIE-LABlab(30.20, -30.44, 19.62)
CIE-LCHlch(30.20, 36.21, 147.20°)
OKLaboklab(38.8% -0.0819 0.0478)
OKLCHoklch(38.8% 0.095 149.7)
XYZxyz(3.6518, 6.3191, 2.9463)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135227 #52133E
analogous
#1E5213 #135227 #135247
triadic
#135227 #271352 #522713
tetradic
#135227 #131E52 #52133E #524713
square
#135227 #131E52 #52133E #524713
split-complementary
#135227 #471352 #52131E
monochromatic
#06190C #07200F #135227 #1F843F #2AB556

Accessibility & contrast

On white

9.28
#135227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#135227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #135227
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##135227#FFFFFF#000000##FFFFFF
##1352271.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #135227;
/* rgb */ color: rgb(19, 82, 39);
/* oklch */ color: oklch(38.8% 0.095 149.7);
Tailwind
colors: {
  custom: {
    50: '#5b8362',
    500: '#135227',
    950: '#000000',
  },
}
SCSS
$custom: #135227;
$custom-light: #5b8362;
$custom-dark: #000000;
JSON
{
  "hex": "#135227",
  "rgb": {
    "r": 19,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 139.048,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38804,
    "c": 0.09488,
    "h": 149.7
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#135227
secondary
#8A3670
accent
#42B2E5
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #135227

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

Preview Lab → · Contrast checker → · Palette generator →

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