#1F964F#1F964F

#1F964F is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.147 H 151.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1F964F
RGBrgb(31, 150, 79)
HSLhsl(144, 66%, 35%)
HSVhsv(144, 79%, 59%)
CMYKcmyk(79.3%, 0%, 47.3%, 41.2%)
CIE-LABlab(54.73, -48.03, 28.54)
CIE-LCHlch(54.73, 55.87, 149.28°)
OKLaboklab(59.35% -0.129 0.0699)
OKLCHoklch(59.35% 0.147 151.5)
XYZxyz(12.8816, 22.6670, 11.0919)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F964F #961F66
analogous
#2A961F #1F964F #1F968A
triadic
#1F964F #4F1F96 #964F1F
tetradic
#1F964F #1F2A96 #961F66 #968A1F
square
#1F964F #1F2A96 #961F66 #968A1F
split-complementary
#1F964F #8A1F96 #961F2A
monochromatic
#0A311A #156334 #1F964F #29C96A #54DC8B

Accessibility & contrast

On white

3.79
#1F964F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#1F964F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F964F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F964F#FFFFFF#000000##000000
##1F964F1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968949
Deuteranopia (green-blind)
#897F54
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f964f;
/* rgb */ color: rgb(31, 150, 79);
/* oklch */ color: oklch(59.4% 0.147 151.5);
Tailwind
colors: {
  custom: {
    50: '#6fb681',
    500: '#1f964f',
    950: '#000000',
  },
}
SCSS
$custom: #1f964f;
$custom-light: #6fb681;
$custom-dark: #000000;
JSON
{
  "hex": "#1f964f",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 79
  },
  "hsl": {
    "h": 144.202,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.14678,
    "h": 151.5
  },
  "luminance": 0.22669
}

Semantic roles & 50–950 ramp

primary
#1F964F
secondary
#BF5293
accent
#3FA4E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F964F

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

Preview Lab → · Contrast checker → · Palette generator →

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