#1F8D4F#1F8D4F

#1F8D4F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.135 H 153.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F8D4F
RGBrgb(31, 141, 79)
HSLhsl(146, 64%, 34%)
HSVhsv(146, 78%, 55%)
CMYKcmyk(78%, 0%, 44%, 44.7%)
CIE-LABlab(51.73, -44.63, 24.68)
CIE-LCHlch(51.73, 51.00, 151.06°)
OKLaboklab(56.87% -0.1201 0.061)
OKLCHoklch(56.87% 0.135 153.1)
XYZxyz(11.5002, 19.9042, 10.6314)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D4F #8D1F5D
analogous
#268D1F #1F8D4F #1F8D86
triadic
#1F8D4F #4F1F8D #8D4F1F
tetradic
#1F8D4F #1F268D #8D1F5D #8D861F
square
#1F8D4F #1F268D #8D1F5D #8D861F
split-complementary
#1F8D4F #861F8D #8D1F26
monochromatic
#092917 #145B33 #1F8D4F #2ABF6B #4ED88A

Accessibility & contrast

On white

4.22
#1F8D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1F8D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D4F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D4F#FFFFFF#000000##000000
##1F8D4F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814A
Deuteranopia (green-blind)
#807853
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d4f;
/* rgb */ color: rgb(31, 141, 79);
/* oklch */ color: oklch(56.9% 0.135 153.1);
Tailwind
colors: {
  custom: {
    50: '#6daf81',
    500: '#1f8d4f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d4f;
$custom-light: #6daf81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d4f",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 146.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.13471,
    "h": 153.1
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#1F8D4F
secondary
#BB4D8B
accent
#419EE7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F8D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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