#1F8B4D#1F8B4D

#1F8B4D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.134 H 152.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F8B4D
RGBrgb(31, 139, 77)
HSLhsl(146, 64%, 33%)
HSVhsv(146, 78%, 55%)
CMYKcmyk(77.7%, 0%, 44.6%, 45.5%)
CIE-LABlab(51.03, -44.24, 24.86)
CIE-LCHlch(51.03, 50.75, 150.67°)
OKLaboklab(56.28% -0.119 0.0614)
OKLCHoklch(56.28% 0.134 152.7)
XYZxyz(11.1362, 19.2910, 10.1564)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B4D #8B1F5D
analogous
#278B1F #1F8B4D #1F8B83
triadic
#1F8B4D #4D1F8B #8B4D1F
tetradic
#1F8B4D #1F278B #8B1F5D #8B831F
square
#1F8B4D #1F278B #8B1F5D #8B831F
split-complementary
#1F8B4D #831F8B #8B1F27
monochromatic
#092716 #145931 #1F8B4D #2ABD69 #4DD788

Accessibility & contrast

On white

4.32
#1F8B4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#1F8B4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B4D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B4D#FFFFFF#000000##000000
##1F8B4D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F48
Deuteranopia (green-blind)
#7E7651
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b4d;
/* rgb */ color: rgb(31, 139, 77);
/* oklch */ color: oklch(56.3% 0.134 152.7);
Tailwind
colors: {
  custom: {
    50: '#6dae7f',
    500: '#1f8b4d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b4d;
$custom-light: #6dae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b4d",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 77
  },
  "hsl": {
    "h": 145.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.13392,
    "h": 152.7
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

primary
#1F8B4D
secondary
#BA4C8B
accent
#41A0E7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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