#1F8148#1F8148

#1F8148 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.125 H 152.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F8148
RGBrgb(31, 129, 72)
HSLhsl(145, 61%, 31%)
HSVhsv(145, 76%, 51%)
CMYKcmyk(76%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.57, -41.29, 23.13)
CIE-LCHlch(47.57, 47.32, 150.74°)
OKLaboklab(53.4% -0.1112 0.0572)
OKLCHoklch(53.4% 0.125 152.8)
XYZxyz(9.5842, 16.4586, 8.8013)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8148 #811F58
analogous
#27811F #1F8148 #1F8179
triadic
#1F8148 #481F81 #81481F
tetradic
#1F8148 #1F2781 #811F58 #81791F
square
#1F8148 #1F2781 #811F58 #81791F
split-complementary
#1F8148 #791F81 #811F27
monochromatic
#071E11 #13502C #1F8148 #2BB264 #47D382

Accessibility & contrast

On white

4.89
#1F8148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F8148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8148
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8148#FFFFFF#000000##FFFFFF
##1F81481.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#756E4C
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8148;
/* rgb */ color: rgb(31, 129, 72);
/* oklch */ color: oklch(53.4% 0.125 152.8);
Tailwind
colors: {
  custom: {
    50: '#6aa67b',
    500: '#1f8148',
    950: '#000000',
  },
}
SCSS
$custom: #1f8148;
$custom-light: #6aa67b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8148",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 145.102,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.534,
    "c": 0.12502,
    "h": 152.8
  },
  "luminance": 0.1646
}

Semantic roles & 50–950 ramp

primary
#1F8148
secondary
#B44887
accent
#43A1E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8148

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8148 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva