#1F962A#1F962A

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

Color values

HEX#1F962A
RGBrgb(31, 150, 42)
HSLhsl(126, 66%, 35%)
HSVhsv(126, 79%, 59%)
CMYKcmyk(79.3%, 0%, 72%, 41.2%)
CIE-LABlab(54.31, -53.02, 45.71)
CIE-LCHlch(54.31, 70.00, 139.23°)
OKLaboklab(58.87% -0.1434 0.1044)
OKLCHoklch(58.87% 0.177 144)
XYZxyz(11.8885, 22.2698, 5.8620)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F962A #961F8B
analogous
#4F961F #1F962A #1F9665
triadic
#1F962A #2A1F96 #962A1F
tetradic
#1F962A #1F4F96 #961F8B #96651F
square
#1F962A #1F4F96 #961F8B #96651F
split-complementary
#1F962A #651F96 #961F4F
monochromatic
#0A310E #15631C #1F962A #29C938 #54DC60

Accessibility & contrast

On white

3.85
#1F962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#1F962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F962A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F962A#FFFFFF#000000##000000
##1F962A1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f962a;
/* rgb */ color: rgb(31, 150, 42);
/* oklch */ color: oklch(58.9% 0.177 144.0);
Tailwind
colors: {
  custom: {
    50: '#71b66a',
    500: '#1f962a',
    950: '#000000',
  },
}
SCSS
$custom: #1f962a;
$custom-light: #71b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f962a",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 125.546,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.17735,
    "h": 144
  },
  "luminance": 0.22271
}

Semantic roles & 50–950 ramp

primary
#1F962A
secondary
#BF52B5
accent
#3FD9E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F962A

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

Preview Lab → · Contrast checker → · Palette generator →

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