#1F8B3D#1F8B3D

#1F8B3D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.149 H 147.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8B3D
RGBrgb(31, 139, 61)
HSLhsl(137, 64%, 33%)
HSVhsv(137, 78%, 55%)
CMYKcmyk(77.7%, 0%, 56.1%, 45.5%)
CIE-LABlab(50.79, -46.94, 33.04)
CIE-LCHlch(50.79, 57.40, 144.86°)
OKLaboklab(56.02% -0.1262 0.0791)
OKLCHoklch(56.02% 0.149 147.9)
XYZxyz(10.6392, 19.0922, 7.5384)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B3D #8B1F6D
analogous
#378B1F #1F8B3D #1F8B73
triadic
#1F8B3D #3D1F8B #8B3D1F
tetradic
#1F8B3D #1F378B #8B1F6D #8B731F
square
#1F8B3D #1F378B #8B1F6D #8B731F
split-complementary
#1F8B3D #731F8B #8B1F37
monochromatic
#092711 #145927 #1F8B3D #2ABD53 #4DD773

Accessibility & contrast

On white

4.36
#1F8B3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F8B3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B3D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B3D#FFFFFF#000000##000000
##1F8B3D1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E36
Deuteranopia (green-blind)
#807643
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b3d;
/* rgb */ color: rgb(31, 139, 61);
/* oklch */ color: oklch(56.0% 0.149 147.9);
Tailwind
colors: {
  custom: {
    50: '#6dae74',
    500: '#1f8b3d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b3d;
$custom-light: #6dae74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b3d",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 61
  },
  "hsl": {
    "h": 136.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.14898,
    "h": 147.9
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#1F8B3D
secondary
#BA4C9B
accent
#41B9E7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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