#1F8948#1F8948

#1F8948 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.136 H 151.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F8948
RGBrgb(31, 137, 72)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 77%, 54%)
CMYKcmyk(77.4%, 0%, 47.4%, 46.3%)
CIE-LABlab(50.27, -44.39, 26.61)
CIE-LCHlch(50.27, 51.76, 149.06°)
OKLaboklab(55.63% -0.1194 0.0653)
OKLCHoklch(55.63% 0.136 151.3)
XYZxyz(10.6795, 18.6492, 9.1665)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8948 #891F60
analogous
#2B891F #1F8948 #1F897D
triadic
#1F8948 #481F89 #89481F
tetradic
#1F8948 #1F2B89 #891F60 #897D1F
square
#1F8948 #1F2B89 #891F60 #897D1F
split-complementary
#1F8948 #7D1F89 #891F2B
monochromatic
#082514 #14572E #1F8948 #2ABB62 #4CD682

Accessibility & contrast

On white

4.44
#1F8948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#1F8948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8948
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8948#FFFFFF#000000##000000
##1F89481.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D43
Deuteranopia (green-blind)
#7D744D
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8948;
/* rgb */ color: rgb(31, 137, 72);
/* oklch */ color: oklch(55.6% 0.136 151.3);
Tailwind
colors: {
  custom: {
    50: '#6cac7c',
    500: '#1f8948',
    950: '#000000',
  },
}
SCSS
$custom: #1f8948;
$custom-light: #6cac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8948",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 72
  },
  "hsl": {
    "h": 143.208,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.13603,
    "h": 151.3
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#1F8948
secondary
#B94B8E
accent
#42A7E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8948

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

Preview Lab → · Contrast checker → · Palette generator →

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