#1F864C#1F864C

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

Color values

HEX#1F864C
RGBrgb(31, 134, 76)
HSLhsl(146, 62%, 32%)
HSVhsv(146, 77%, 53%)
CMYKcmyk(76.9%, 0%, 43.3%, 47.5%)
CIE-LABlab(49.33, -42.49, 23.20)
CIE-LCHlch(49.33, 48.41, 151.36°)
OKLaboklab(54.87% -0.1144 0.0575)
OKLCHoklch(54.87% 0.128 153.3)
XYZxyz(10.3937, 17.8621, 9.7360)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F864C #861F59
analogous
#25861F #1F864C #1F8680
triadic
#1F864C #4C1F86 #864C1F
tetradic
#1F864C #1F2586 #861F59 #86801F
square
#1F864C #1F2586 #861F59 #86801F
split-complementary
#1F864C #801F86 #861F25
monochromatic
#082314 #145430 #1F864C #2AB868 #4AD587

Accessibility & contrast

On white

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

On black

4.57
#1F864C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F864C#FFFFFF#000000##FFFFFF
##1F864C1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A48
Deuteranopia (green-blind)
#7A7250
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f864c;
/* rgb */ color: rgb(31, 134, 76);
/* oklch */ color: oklch(54.9% 0.128 153.3);
Tailwind
colors: {
  custom: {
    50: '#6baa7f',
    500: '#1f864c',
    950: '#000000',
  },
}
SCSS
$custom: #1f864c;
$custom-light: #6baa7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f864c",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 76
  },
  "hsl": {
    "h": 146.214,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.12804,
    "h": 153.3
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#1F864C
secondary
#B84987
accent
#429EE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F864C

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

Preview Lab → · Contrast checker → · Palette generator →

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