#148A1F#148A1F

#148A1F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.173 H 143.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#148A1F
RGBrgb(20, 138, 31)
HSLhsl(126, 75%, 31%)
HSVhsv(126, 86%, 54%)
CMYKcmyk(85.5%, 0%, 77.5%, 45.9%)
CIE-LABlab(50.01, -51.46, 45.46)
CIE-LCHlch(50.01, 68.67, 138.55°)
OKLaboklab(55.22% -0.1392 0.1024)
OKLCHoklch(55.22% 0.173 143.7)
XYZxyz(9.6236, 18.4234, 4.3449)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#148A1F #8A147F
analogous
#448A14 #148A1F #148A5A
triadic
#148A1F #1F148A #8A1F14
tetradic
#148A1F #14448A #8A147F #8A5A14
square
#148A1F #14448A #8A147F #8A5A14
split-complementary
#148A1F #5A148A #8A1444
monochromatic
#051F07 #0C5513 #148A1F #1CBF2B #36E246

Accessibility & contrast

On white

4.48
#148A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#148A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #148A1F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##148A1F#FFFFFF#000000##000000
##148A1F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #148a1f;
/* rgb */ color: rgb(20, 138, 31);
/* oklch */ color: oklch(55.2% 0.173 143.7);
Tailwind
colors: {
  custom: {
    50: '#6bad63',
    500: '#148a1f',
    950: '#000000',
  },
}
SCSS
$custom: #148a1f;
$custom-light: #6bad63;
$custom-dark: #000000;
JSON
{
  "hex": "#148a1f",
  "rgb": {
    "r": 20,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 125.593,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.17283,
    "h": 143.7
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#148A1F
secondary
#BE3CB2
accent
#36E0F1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #148A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#148A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva