#145126#145126

#145126 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.094 H 149.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#145126
RGBrgb(20, 81, 38)
HSLhsl(138, 60%, 20%)
HSVhsv(138, 75%, 32%)
CMYKcmyk(75.3%, 0%, 53.1%, 68.2%)
CIE-LABlab(29.84, -30.00, 19.76)
CIE-LCHlch(29.84, 35.92, 146.63°)
OKLaboklab(38.51% -0.0808 0.0481)
OKLCHoklch(38.51% 0.094 149.2)
XYZxyz(3.5805, 6.1731, 2.8362)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#145126 #51143F
analogous
#215114 #145126 #145145
triadic
#145126 #261451 #512614
tetradic
#145126 #142151 #51143F #514514
square
#145126 #142151 #51143F #514514
split-complementary
#145126 #451451 #511421
monochromatic
#06190C #08200F #145126 #20823D #2CB354

Accessibility & contrast

On white

9.40
#145126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#145126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #145126
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##145126#FFFFFF#000000##FFFFFF
##1451261.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524923
Deuteranopia (green-blind)
#4A4429
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #145126;
/* rgb */ color: rgb(20, 81, 38);
/* oklch */ color: oklch(38.5% 0.094 149.2);
Tailwind
colors: {
  custom: {
    50: '#5b8261',
    500: '#145126',
    950: '#000000',
  },
}
SCSS
$custom: #145126;
$custom-light: #5b8261;
$custom-dark: #000000;
JSON
{
  "hex": "#145126",
  "rgb": {
    "r": 20,
    "g": 81,
    "b": 38
  },
  "hsl": {
    "h": 137.705,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.09403,
    "h": 149.2
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#145126
secondary
#893871
accent
#44B5E4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #145126

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

Preview Lab → · Contrast checker → · Palette generator →

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