#135226#135226

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

Color values

HEX#135226
RGBrgb(19, 82, 38)
HSLhsl(138, 62%, 20%)
HSVhsv(138, 77%, 32%)
CMYKcmyk(76.8%, 0%, 53.7%, 67.8%)
CIE-LABlab(30.19, -30.62, 20.18)
CIE-LCHlch(30.19, 36.67, 146.61°)
OKLaboklab(38.79% -0.0824 0.0491)
OKLCHoklch(38.79% 0.096 149.2)
XYZxyz(3.6354, 6.3126, 2.8602)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#135226 #52133F
analogous
#205213 #135226 #135245
triadic
#135226 #261352 #522613
tetradic
#135226 #132052 #52133F #524513
square
#135226 #132052 #52133F #524513
split-complementary
#135226 #451352 #521320
monochromatic
#06190C #07200F #135226 #1F843D #2AB554

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##135226#FFFFFF#000000##FFFFFF
##1352261.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)
#534A22
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #135226;
/* rgb */ color: rgb(19, 82, 38);
/* oklch */ color: oklch(38.8% 0.096 149.2);
Tailwind
colors: {
  custom: {
    50: '#5b8361',
    500: '#135226',
    950: '#000000',
  },
}
SCSS
$custom: #135226;
$custom-light: #5b8361;
$custom-dark: #000000;
JSON
{
  "hex": "#135226",
  "rgb": {
    "r": 19,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 138.095,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.09593,
    "h": 149.2
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#135226
secondary
#8A3671
accent
#42B4E5
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #135226

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

Preview Lab → · Contrast checker → · Palette generator →

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