#1F964D#1F964D

#1F964D is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.3% C 0.149 H 150.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#1F964D
RGBrgb(31, 150, 77)
HSLhsl(143, 66%, 35%)
HSVhsv(143, 79%, 59%)
CMYKcmyk(79.3%, 0%, 48.7%, 41.2%)
CIE-LABlab(54.70, -48.38, 29.56)
CIE-LCHlch(54.70, 56.69, 148.58°)
OKLaboklab(59.32% -0.13 0.0722)
OKLCHoklch(59.32% 0.149 150.9)
XYZxyz(12.8099, 22.6383, 10.7142)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F964D #961F68
analogous
#2D961F #1F964D #1F9688
triadic
#1F964D #4D1F96 #964D1F
tetradic
#1F964D #1F2D96 #961F68 #96881F
square
#1F964D #1F2D96 #961F68 #96881F
split-complementary
#1F964D #881F96 #961F2D
monochromatic
#0A3119 #156333 #1F964D #29C967 #54DC88

Accessibility & contrast

On white

3.80
#1F964D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F964D#FFFFFF#000000##000000
##1F964D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978947
Deuteranopia (green-blind)
#897F52
Tritanopia (blue-blind)
#009385
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f964d;
/* rgb */ color: rgb(31, 150, 77);
/* oklch */ color: oklch(59.3% 0.149 150.9);
Tailwind
colors: {
  custom: {
    50: '#6fb680',
    500: '#1f964d',
    950: '#000000',
  },
}
SCSS
$custom: #1f964d;
$custom-light: #6fb680;
$custom-dark: #000000;
JSON
{
  "hex": "#1f964d",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 77
  },
  "hsl": {
    "h": 143.193,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.14866,
    "h": 150.9
  },
  "luminance": 0.2264
}

Semantic roles & 50–950 ramp

primary
#1F964D
secondary
#BF5295
accent
#3FA7E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F964D

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

Preview Lab → · Contrast checker → · Palette generator →

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