#1F8950#1F8950

#1F8950 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.128 H 154.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F8950
RGBrgb(31, 137, 80)
HSLhsl(148, 63%, 33%)
HSVhsv(148, 77%, 54%)
CMYKcmyk(77.4%, 0%, 41.6%, 46.3%)
CIE-LABlab(50.41, -42.88, 22.40)
CIE-LCHlch(50.41, 48.38, 152.42°)
OKLaboklab(55.79% -0.1155 0.0557)
OKLCHoklch(55.79% 0.128 154.3)
XYZxyz(10.9577, 18.7605, 10.6315)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8950 #891F58
analogous
#23891F #1F8950 #1F8985
triadic
#1F8950 #501F89 #89501F
tetradic
#1F8950 #1F2389 #891F58 #89851F
square
#1F8950 #1F2389 #891F58 #89851F
split-complementary
#1F8950 #851F89 #891F23
monochromatic
#082516 #145733 #1F8950 #2ABB6D #4CD68C

Accessibility & contrast

On white

4.42
#1F8950 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1F8950 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8950
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8950#FFFFFF#000000##000000
##1F89501.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D4C
Deuteranopia (green-blind)
#7C7454
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8950;
/* rgb */ color: rgb(31, 137, 80);
/* oklch */ color: oklch(55.8% 0.128 154.3);
Tailwind
colors: {
  custom: {
    50: '#6cac81',
    500: '#1f8950',
    950: '#000000',
  },
}
SCSS
$custom: #1f8950;
$custom-light: #6cac81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8950",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 80
  },
  "hsl": {
    "h": 147.736,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.12827,
    "h": 154.3
  },
  "luminance": 0.18762
}

Semantic roles & 50–950 ramp

primary
#1F8950
secondary
#B94B86
accent
#429AE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8950

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

Preview Lab → · Contrast checker → · Palette generator →

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