#145315#145315

#145315 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.113 H 143.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#145315
RGBrgb(20, 83, 21)
HSLhsl(121, 61%, 20%)
HSVhsv(121, 76%, 33%)
CMYKcmyk(75.9%, 0%, 74.7%, 67.5%)
CIE-LABlab(30.37, -33.27, 29.41)
CIE-LCHlch(30.37, 44.41, 138.52°)
OKLaboklab(38.88% -0.0903 0.0675)
OKLCHoklch(38.88% 0.113 143.2)
XYZxyz(3.5169, 6.3890, 1.7572)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145315 #531452
analogous
#335314 #145315 #145334
triadic
#145315 #151453 #531514
tetradic
#145315 #143353 #531452 #533414
square
#145315 #143353 #531452 #533414
split-complementary
#145315 #341453 #531433
monochromatic
#061906 #082209 #145315 #208421 #2CB62E

Accessibility & contrast

On white

9.22
#145315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#145315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145315
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145315#FFFFFF#000000##FFFFFF
##1453151.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0C
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#035046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #145315;
/* rgb */ color: rgb(20, 83, 21);
/* oklch */ color: oklch(38.9% 0.113 143.2);
Tailwind
colors: {
  custom: {
    50: '#5d8456',
    500: '#145315',
    950: '#000000',
  },
}
SCSS
$custom: #145315;
$custom-light: #5d8456;
$custom-dark: #000000;
JSON
{
  "hex": "#145315",
  "rgb": {
    "r": 20,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 120.952,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.11271,
    "h": 143.2
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#145315
secondary
#8B388A
accent
#44E2E4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #145315

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

Preview Lab → · Contrast checker → · Palette generator →

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