#145226#145226

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

Color values

HEX#145226
RGBrgb(20, 82, 38)
HSLhsl(137, 61%, 20%)
HSVhsv(137, 76%, 32%)
CMYKcmyk(75.6%, 0%, 53.7%, 67.8%)
CIE-LABlab(30.21, -30.42, 20.22)
CIE-LCHlch(30.21, 36.53, 146.39°)
OKLaboklab(38.81% -0.0819 0.0491)
OKLCHoklch(38.81% 0.096 149.1)
XYZxyz(3.6554, 6.3228, 2.8611)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145226 #521440
analogous
#215214 #145226 #145245
triadic
#145226 #261452 #522614
tetradic
#145226 #142152 #521440 #524514
square
#145226 #142152 #521440 #524514
split-complementary
#145226 #451452 #521421
monochromatic
#06190B #08210F #145226 #20833D #2CB454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145226#FFFFFF#000000##FFFFFF
##1452261.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.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: #145226;
/* rgb */ color: rgb(20, 82, 38);
/* oklch */ color: oklch(38.8% 0.096 149.1);
Tailwind
colors: {
  custom: {
    50: '#5b8361',
    500: '#145226',
    950: '#000000',
  },
}
SCSS
$custom: #145226;
$custom-light: #5b8361;
$custom-dark: #000000;
JSON
{
  "hex": "#145226",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 38
  },
  "hsl": {
    "h": 137.419,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.09553,
    "h": 149.1
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#145226
secondary
#8A3872
accent
#44B5E4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #145226

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

Preview Lab → · Contrast checker → · Palette generator →

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