#1F8B4F#1F8B4F

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

Color values

HEX#1F8B4F
RGBrgb(31, 139, 79)
HSLhsl(147, 64%, 33%)
HSVhsv(147, 78%, 55%)
CMYKcmyk(77.7%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.06, -43.86, 23.81)
CIE-LCHlch(51.06, 49.90, 151.51°)
OKLaboklab(56.32% -0.1181 0.059)
OKLCHoklch(56.32% 0.132 153.5)
XYZxyz(11.2079, 19.3197, 10.5340)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B4F #8B1F5B
analogous
#258B1F #1F8B4F #1F8B85
triadic
#1F8B4F #4F1F8B #8B4F1F
tetradic
#1F8B4F #1F258B #8B1F5B #8B851F
square
#1F8B4F #1F258B #8B1F5B #8B851F
split-complementary
#1F8B4F #851F8B #8B1F25
monochromatic
#092716 #145933 #1F8B4F #2ABD6B #4DD78B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B4F#FFFFFF#000000##000000
##1F8B4F1.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)
#8B7F4B
Deuteranopia (green-blind)
#7E7653
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b4f;
/* rgb */ color: rgb(31, 139, 79);
/* oklch */ color: oklch(56.3% 0.132 153.5);
Tailwind
colors: {
  custom: {
    50: '#6dae81',
    500: '#1f8b4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b4f;
$custom-light: #6dae81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b4f",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 146.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.13198,
    "h": 153.5
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#1F8B4F
secondary
#BA4C89
accent
#419DE7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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