#1F8145#1F8145

#1F8145 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.128 H 151.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8145
RGBrgb(31, 129, 69)
HSLhsl(143, 61%, 31%)
HSVhsv(143, 76%, 51%)
CMYKcmyk(76%, 0%, 46.5%, 49.4%)
CIE-LABlab(47.52, -41.85, 24.72)
CIE-LCHlch(47.52, 48.61, 149.43°)
OKLaboklab(53.34% -0.1126 0.0608)
OKLCHoklch(53.34% 0.128 151.6)
XYZxyz(9.4887, 16.4204, 8.2984)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8145 #811F5B
analogous
#2A811F #1F8145 #1F8176
triadic
#1F8145 #451F81 #81451F
tetradic
#1F8145 #1F2A81 #811F5B #81761F
square
#1F8145 #1F2A81 #811F5B #81761F
split-complementary
#1F8145 #761F81 #811F2A
monochromatic
#071E10 #13502B #1F8145 #2BB25F #47D37E

Accessibility & contrast

On white

4.90
#1F8145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1F8145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8145
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8145#FFFFFF#000000##FFFFFF
##1F81451.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817640
Deuteranopia (green-blind)
#766D49
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8145;
/* rgb */ color: rgb(31, 129, 69);
/* oklch */ color: oklch(53.3% 0.128 151.6);
Tailwind
colors: {
  custom: {
    50: '#6aa679',
    500: '#1f8145',
    950: '#000000',
  },
}
SCSS
$custom: #1f8145;
$custom-light: #6aa679;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8145",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 143.265,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.12796,
    "h": 151.6
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#1F8145
secondary
#B4488A
accent
#43A6E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8145

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

Preview Lab → · Contrast checker → · Palette generator →

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