#145223#145223

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

Color values

HEX#145223
RGBrgb(20, 82, 35)
HSLhsl(135, 61%, 20%)
HSVhsv(135, 76%, 32%)
CMYKcmyk(75.6%, 0%, 57.3%, 67.8%)
CIE-LABlab(30.17, -30.94, 21.89)
CIE-LCHlch(30.17, 37.90, 144.73°)
OKLaboklab(38.76% -0.0834 0.0527)
OKLCHoklch(38.76% 0.099 147.7)
XYZxyz(3.6089, 6.3043, 2.6164)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145223 #521443
analogous
#245214 #145223 #145242
triadic
#145223 #231452 #522314
tetradic
#145223 #142452 #521443 #524214
square
#145223 #142452 #521443 #524214
split-complementary
#145223 #421452 #521424
monochromatic
#06190A #08210E #145223 #208338 #2CB44D

Accessibility & contrast

On white

9.29
#145223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #145223
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145223#FFFFFF#000000##FFFFFF
##1452231.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145223;
/* rgb */ color: rgb(20, 82, 35);
/* oklch */ color: oklch(38.8% 0.099 147.7);
Tailwind
colors: {
  custom: {
    50: '#5c835f',
    500: '#145223',
    950: '#000000',
  },
}
SCSS
$custom: #145223;
$custom-light: #5c835f;
$custom-dark: #000000;
JSON
{
  "hex": "#145223",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 134.516,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.09863,
    "h": 147.7
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#145223
secondary
#8A3876
accent
#44BDE4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #145223

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

Preview Lab → · Contrast checker → · Palette generator →

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