#1F864E#1F864E

#1F864E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.126 H 154.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F864E
RGBrgb(31, 134, 78)
HSLhsl(147, 62%, 32%)
HSVhsv(147, 77%, 53%)
CMYKcmyk(76.9%, 0%, 41.8%, 47.5%)
CIE-LABlab(49.36, -42.10, 22.14)
CIE-LCHlch(49.36, 47.56, 152.26°)
OKLaboklab(54.91% -0.1134 0.055)
OKLCHoklch(54.91% 0.126 154.1)
XYZxyz(10.4643, 17.8903, 10.1079)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F864E #861F57
analogous
#23861F #1F864E #1F8682
triadic
#1F864E #4E1F86 #864E1F
tetradic
#1F864E #1F2386 #861F57 #86821F
square
#1F864E #1F2386 #861F57 #86821F
split-complementary
#1F864E #821F86 #861F23
monochromatic
#082314 #145431 #1F864E #2AB86B #4AD58A

Accessibility & contrast

On white

4.59
#1F864E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F864E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F864E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F864E#FFFFFF#000000##FFFFFF
##1F864E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867B4A
Deuteranopia (green-blind)
#797252
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f864e;
/* rgb */ color: rgb(31, 134, 78);
/* oklch */ color: oklch(54.9% 0.126 154.1);
Tailwind
colors: {
  custom: {
    50: '#6baa80',
    500: '#1f864e',
    950: '#000000',
  },
}
SCSS
$custom: #1f864e;
$custom-light: #6baa80;
$custom-dark: #000000;
JSON
{
  "hex": "#1f864e",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 78
  },
  "hsl": {
    "h": 147.379,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.12608,
    "h": 154.1
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#1F864E
secondary
#B84985
accent
#429BE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F864E

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

Preview Lab → · Contrast checker → · Palette generator →

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