#1F864D#1F864D

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

Color values

HEX#1F864D
RGBrgb(31, 134, 77)
HSLhsl(147, 62%, 32%)
HSVhsv(147, 77%, 53%)
CMYKcmyk(76.9%, 0%, 42.5%, 47.5%)
CIE-LABlab(49.35, -42.29, 22.67)
CIE-LCHlch(49.35, 47.98, 151.81°)
OKLaboklab(54.89% -0.1139 0.0563)
OKLCHoklch(54.89% 0.127 153.7)
XYZxyz(10.4288, 17.8761, 9.9205)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F864D #861F58
analogous
#25861F #1F864D #1F8680
triadic
#1F864D #4D1F86 #864D1F
tetradic
#1F864D #1F2586 #861F58 #86801F
square
#1F864D #1F2586 #861F58 #86801F
split-complementary
#1F864D #801F86 #861F25
monochromatic
#082314 #145430 #1F864D #2AB86A #4AD588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F864D#FFFFFF#000000##FFFFFF
##1F864D1.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)
#867B49
Deuteranopia (green-blind)
#7A7251
Tritanopia (blue-blind)
#008478
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f864d;
/* rgb */ color: rgb(31, 134, 77);
/* oklch */ color: oklch(54.9% 0.127 153.7);
Tailwind
colors: {
  custom: {
    50: '#6baa7f',
    500: '#1f864d',
    950: '#000000',
  },
}
SCSS
$custom: #1f864d;
$custom-light: #6baa7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f864d",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 77
  },
  "hsl": {
    "h": 146.796,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.12705,
    "h": 153.7
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#1F864D
secondary
#B84986
accent
#429DE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F864D

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

Preview Lab → · Contrast checker → · Palette generator →

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