#1F962F#1F962F

#1F962F is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.174 H 144.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F962F
RGBrgb(31, 150, 47)
HSLhsl(128, 66%, 35%)
HSVhsv(128, 79%, 59%)
CMYKcmyk(79.3%, 0%, 68.7%, 41.2%)
CIE-LABlab(54.35, -52.52, 43.68)
CIE-LCHlch(54.35, 68.31, 140.25°)
OKLaboklab(58.92% -0.1418 0.1007)
OKLCHoklch(58.92% 0.174 144.6)
XYZxyz(11.9837, 22.3078, 6.3630)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F962F #961F86
analogous
#4B961F #1F962F #1F966A
triadic
#1F962F #2F1F96 #962F1F
tetradic
#1F962F #1F4B96 #961F86 #966A1F
square
#1F962F #1F4B96 #961F86 #966A1F
split-complementary
#1F962F #6A1F96 #961F4B
monochromatic
#0A310F #15631F #1F962F #29C93F #54DC66

Accessibility & contrast

On white

3.84
#1F962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#1F962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F962F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F962F#FFFFFF#000000##000000
##1F962F1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998721
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f962f;
/* rgb */ color: rgb(31, 150, 47);
/* oklch */ color: oklch(58.9% 0.174 144.6);
Tailwind
colors: {
  custom: {
    50: '#71b66d',
    500: '#1f962f',
    950: '#000000',
  },
}
SCSS
$custom: #1f962f;
$custom-light: #71b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f962f",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 128.067,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.17394,
    "h": 144.6
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#1F962F
secondary
#BF52B0
accent
#3FD2E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F962F

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

Preview Lab → · Contrast checker → · Palette generator →

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