#145227#145227

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

Color values

HEX#145227
RGBrgb(20, 82, 39)
HSLhsl(138, 61%, 20%)
HSVhsv(138, 76%, 32%)
CMYKcmyk(75.6%, 0%, 52.4%, 67.8%)
CIE-LABlab(30.23, -30.24, 19.65)
CIE-LCHlch(30.23, 36.06, 146.98°)
OKLaboklab(38.83% -0.0814 0.0479)
OKLCHoklch(38.83% 0.094 149.5)
XYZxyz(3.6717, 6.3294, 2.9473)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145227 #52143F
analogous
#205214 #145227 #145246
triadic
#145227 #271452 #522714
tetradic
#145227 #142052 #52143F #524614
square
#145227 #142052 #52143F #524614
split-complementary
#145227 #461452 #521420
monochromatic
#06190C #082110 #145227 #20833E #2CB456

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##145227#FFFFFF#000000##FFFFFF
##1452271.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)
#534A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145227;
/* rgb */ color: rgb(20, 82, 39);
/* oklch */ color: oklch(38.8% 0.094 149.5);
Tailwind
colors: {
  custom: {
    50: '#5b8362',
    500: '#145227',
    950: '#000000',
  },
}
SCSS
$custom: #145227;
$custom-light: #5b8362;
$custom-dark: #000000;
JSON
{
  "hex": "#145227",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 39
  },
  "hsl": {
    "h": 138.387,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38832,
    "c": 0.09449,
    "h": 149.5
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#145227
secondary
#8A3871
accent
#44B3E4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #145227

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

Preview Lab → · Contrast checker → · Palette generator →

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