#1F8A3D#1F8A3D

#1F8A3D is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.148 H 148.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F8A3D
RGBrgb(31, 138, 61)
HSLhsl(137, 63%, 33%)
HSVhsv(137, 78%, 54%)
CMYKcmyk(77.5%, 0%, 55.8%, 45.9%)
CIE-LABlab(50.46, -46.58, 32.63)
CIE-LCHlch(50.46, 56.87, 144.99°)
OKLaboklab(55.74% -0.1253 0.0782)
OKLCHoklch(55.74% 0.148 148)
XYZxyz(10.4950, 18.8040, 7.4904)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A3D #8A1F6C
analogous
#378A1F #1F8A3D #1F8A72
triadic
#1F8A3D #3D1F8A #8A3D1F
tetradic
#1F8A3D #1F378A #8A1F6C #8A721F
square
#1F8A3D #1F378A #8A1F6C #8A721F
split-complementary
#1F8A3D #721F8A #8A1F37
monochromatic
#092611 #145827 #1F8A3D #2ABC53 #4CD773

Accessibility & contrast

On white

4.41
#1F8A3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1F8A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A3D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A3D#FFFFFF#000000##000000
##1F8A3D1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D36
Deuteranopia (green-blind)
#7F7543
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a3d;
/* rgb */ color: rgb(31, 138, 61);
/* oklch */ color: oklch(55.7% 0.148 148.0);
Tailwind
colors: {
  custom: {
    50: '#6dad74',
    500: '#1f8a3d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a3d;
$custom-light: #6dad74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a3d",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 136.822,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.14767,
    "h": 148
  },
  "luminance": 0.18805
}

Semantic roles & 50–950 ramp

primary
#1F8A3D
secondary
#BA4B9B
accent
#41B8E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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