#1F864F#1F864F

#1F864F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.125 H 154.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#1F864F
RGBrgb(31, 134, 79)
HSLhsl(148, 62%, 32%)
HSVhsv(148, 77%, 53%)
CMYKcmyk(76.9%, 0%, 41%, 47.5%)
CIE-LABlab(49.38, -41.90, 21.60)
CIE-LCHlch(49.38, 47.14, 152.72°)
OKLaboklab(54.93% -0.1129 0.0538)
OKLCHoklch(54.93% 0.125 154.5)
XYZxyz(10.5005, 17.9048, 10.2982)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F864F #861F56
analogous
#23861F #1F864F #1F8682
triadic
#1F864F #4F1F86 #864F1F
tetradic
#1F864F #1F2386 #861F56 #86821F
square
#1F864F #1F2386 #861F56 #86821F
split-complementary
#1F864F #821F86 #861F23
monochromatic
#082314 #145432 #1F864F #2AB86C #4AD58B

Accessibility & contrast

On white

4.58
#1F864F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #1F864F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F864F#FFFFFF#000000##000000
##1F864F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f864f;
/* rgb */ color: rgb(31, 134, 79);
/* oklch */ color: oklch(54.9% 0.125 154.5);
Tailwind
colors: {
  custom: {
    50: '#6baa81',
    500: '#1f864f',
    950: '#000000',
  },
}
SCSS
$custom: #1f864f;
$custom-light: #6baa81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f864f",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 79
  },
  "hsl": {
    "h": 147.961,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.1251,
    "h": 154.5
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#1F864F
secondary
#B84984
accent
#4299E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F864F

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

Preview Lab → · Contrast checker → · Palette generator →

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