#1F8B4C#1F8B4C

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

Color values

HEX#1F8B4C
RGBrgb(31, 139, 76)
HSLhsl(145, 64%, 33%)
HSVhsv(145, 78%, 55%)
CMYKcmyk(77.7%, 0%, 45.3%, 45.5%)
CIE-LABlab(51.01, -44.43, 25.38)
CIE-LCHlch(51.01, 51.17, 150.26°)
OKLaboklab(56.26% -0.1195 0.0626)
OKLCHoklch(56.26% 0.135 152.4)
XYZxyz(11.1012, 19.2770, 9.9718)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B4C #8B1F5E
analogous
#288B1F #1F8B4C #1F8B82
triadic
#1F8B4C #4C1F8B #8B4C1F
tetradic
#1F8B4C #1F288B #8B1F5E #8B821F
square
#1F8B4C #1F288B #8B1F5E #8B821F
split-complementary
#1F8B4C #821F8B #8B1F28
monochromatic
#092715 #145931 #1F8B4C #2ABD67 #4DD787

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B4C#FFFFFF#000000##000000
##1F8B4C1.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)
#8B7F47
Deuteranopia (green-blind)
#7F7650
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b4c;
/* rgb */ color: rgb(31, 139, 76);
/* oklch */ color: oklch(56.3% 0.135 152.4);
Tailwind
colors: {
  custom: {
    50: '#6dae7f',
    500: '#1f8b4c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b4c;
$custom-light: #6dae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b4c",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 145,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.13489,
    "h": 152.4
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#1F8B4C
secondary
#BA4C8C
accent
#41A2E7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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