#145213#145213

#145213 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.113 H 142.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#145213
RGBrgb(20, 82, 19)
HSLhsl(119, 62%, 20%)
HSVhsv(119, 77%, 32%)
CMYKcmyk(75.6%, 0%, 76.8%, 67.8%)
CIE-LABlab(29.99, -33.09, 29.91)
CIE-LCHlch(29.99, 44.61, 137.89°)
OKLaboklab(38.55% -0.0899 0.0683)
OKLCHoklch(38.55% 0.113 142.8)
XYZxyz(3.4231, 6.2300, 1.6381)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145213 #511352
analogous
#335213 #145213 #135232
triadic
#145213 #131452 #521314
tetradic
#145213 #133352 #511352 #523213
square
#145213 #133352 #511352 #523213
split-complementary
#145213 #321352 #521333
monochromatic
#061906 #082007 #145213 #20841F #2CB52A

Accessibility & contrast

On white

9.35
#145213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#145213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145213
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145213#FFFFFF#000000##FFFFFF
##1452131.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#044F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145213;
/* rgb */ color: rgb(20, 82, 19);
/* oklch */ color: oklch(38.6% 0.113 142.8);
Tailwind
colors: {
  custom: {
    50: '#5c8355',
    500: '#145213',
    950: '#000000',
  },
}
SCSS
$custom: #145213;
$custom-light: #5c8355;
$custom-dark: #000000;
JSON
{
  "hex": "#145213",
  "rgb": {
    "r": 20,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 119.048,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.11288,
    "h": 142.8
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#145213
secondary
#89368A
accent
#42E5E3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145213

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

Preview Lab → · Contrast checker → · Palette generator →

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