#1F9631#1F9631

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

Color values

HEX#1F9631
RGBrgb(31, 150, 49)
HSLhsl(129, 66%, 35%)
HSVhsv(129, 79%, 59%)
CMYKcmyk(79.3%, 0%, 67.3%, 41.2%)
CIE-LABlab(54.37, -52.31, 42.84)
CIE-LCHlch(54.37, 67.61, 140.68°)
OKLaboklab(58.94% -0.1412 0.0992)
OKLCHoklch(58.94% 0.173 144.9)
XYZxyz(12.0250, 22.3243, 6.5804)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9631 #961F84
analogous
#48961F #1F9631 #1F966D
triadic
#1F9631 #311F96 #96311F
tetradic
#1F9631 #1F4896 #961F84 #966D1F
square
#1F9631 #1F4896 #961F84 #966D1F
split-complementary
#1F9631 #6D1F96 #961F48
monochromatic
#0A3110 #156320 #1F9631 #29C942 #54DC68

Accessibility & contrast

On white

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

On black

5.47
#1F9631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9631
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9631#FFFFFF#000000##000000
##1F96311.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9631;
/* rgb */ color: rgb(31, 150, 49);
/* oklch */ color: oklch(58.9% 0.173 144.9);
Tailwind
colors: {
  custom: {
    50: '#70b66e',
    500: '#1f9631',
    950: '#000000',
  },
}
SCSS
$custom: #1f9631;
$custom-light: #70b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9631",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 49
  },
  "hsl": {
    "h": 129.076,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.17251,
    "h": 144.9
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#1F9631
secondary
#BF52AE
accent
#3FCFE9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9631

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

Preview Lab → · Contrast checker → · Palette generator →

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