#1F962C#1F962C

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

Color values

HEX#1F962C
RGBrgb(31, 150, 44)
HSLhsl(127, 66%, 35%)
HSVhsv(127, 79%, 59%)
CMYKcmyk(79.3%, 0%, 70.7%, 41.2%)
CIE-LABlab(54.33, -52.83, 44.91)
CIE-LCHlch(54.33, 69.34, 139.63°)
OKLaboklab(58.89% -0.1428 0.1029)
OKLCHoklch(58.89% 0.176 144.2)
XYZxyz(11.9252, 22.2844, 6.0552)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F962C #961F89
analogous
#4D961F #1F962C #1F9668
triadic
#1F962C #2C1F96 #962C1F
tetradic
#1F962C #1F4D96 #961F89 #96681F
square
#1F962C #1F4D96 #961F89 #96681F
split-complementary
#1F962C #681F96 #961F4D
monochromatic
#0A310E #15631D #1F962C #29C93B #54DC63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F962C#FFFFFF#000000##000000
##1F962C1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f962c;
/* rgb */ color: rgb(31, 150, 44);
/* oklch */ color: oklch(58.9% 0.176 144.2);
Tailwind
colors: {
  custom: {
    50: '#71b66b',
    500: '#1f962c',
    950: '#000000',
  },
}
SCSS
$custom: #1f962c;
$custom-light: #71b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f962c",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 126.555,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58891,
    "c": 0.17602,
    "h": 144.2
  },
  "luminance": 0.22286
}

Semantic roles & 50–950 ramp

primary
#1F962C
secondary
#BF52B3
accent
#3FD6E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F962C

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

Preview Lab → · Contrast checker → · Palette generator →

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