#1F8B4E#1F8B4E

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

Color values

HEX#1F8B4E
RGBrgb(31, 139, 78)
HSLhsl(146, 64%, 33%)
HSVhsv(146, 78%, 55%)
CMYKcmyk(77.7%, 0%, 43.9%, 45.5%)
CIE-LABlab(51.04, -44.05, 24.33)
CIE-LCHlch(51.04, 50.33, 151.09°)
OKLaboklab(56.3% -0.1185 0.0602)
OKLCHoklch(56.3% 0.133 153.1)
XYZxyz(11.1718, 19.3053, 10.3438)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B4E #8B1F5C
analogous
#268B1F #1F8B4E #1F8B84
triadic
#1F8B4E #4E1F8B #8B4E1F
tetradic
#1F8B4E #1F268B #8B1F5C #8B841F
square
#1F8B4E #1F268B #8B1F5C #8B841F
split-complementary
#1F8B4E #841F8B #8B1F26
monochromatic
#092716 #145932 #1F8B4E #2ABD6A #4DD789

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B4E#FFFFFF#000000##000000
##1F8B4E1.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)
#8B7F4A
Deuteranopia (green-blind)
#7E7652
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b4e;
/* rgb */ color: rgb(31, 139, 78);
/* oklch */ color: oklch(56.3% 0.133 153.1);
Tailwind
colors: {
  custom: {
    50: '#6dae80',
    500: '#1f8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b4e;
$custom-light: #6dae80;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b4e",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 146.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.563,
    "c": 0.13295,
    "h": 153.1
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#1F8B4E
secondary
#BA4C8A
accent
#419FE7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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