#1F932F#1F932F

#1F932F is a mid, vivid green. Relative luminance 0.214; OKLCH L 58.1% C 0.170 H 144.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#1F932F
RGBrgb(31, 147, 47)
HSLhsl(128, 65%, 35%)
HSVhsv(128, 79%, 58%)
CMYKcmyk(78.9%, 0%, 68%, 42.4%)
CIE-LABlab(53.34, -51.52, 42.59)
CIE-LCHlch(53.34, 66.84, 140.42°)
OKLaboklab(58.08% -0.1391 0.0984)
OKLCHoklch(58.08% 0.17 144.7)
XYZxyz(11.5111, 21.3626, 6.2055)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F932F #931F83
analogous
#49931F #1F932F #1F9369
triadic
#1F932F #2F1F93 #932F1F
tetradic
#1F932F #1F4993 #931F83 #93691F
square
#1F932F #1F4993 #931F83 #93691F
split-complementary
#1F932F #691F93 #931F49
monochromatic
#0A2E0F #14601F #1F932F #2AC63F #52DA65

Accessibility & contrast

On white

3.98
#1F932F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#1F932F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F932F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F932F#FFFFFF#000000##000000
##1F932F1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f932f;
/* rgb */ color: rgb(31, 147, 47);
/* oklch */ color: oklch(58.1% 0.170 144.7);
Tailwind
colors: {
  custom: {
    50: '#70b46c',
    500: '#1f932f',
    950: '#000000',
  },
}
SCSS
$custom: #1f932f;
$custom-light: #70b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f932f",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 47
  },
  "hsl": {
    "h": 128.276,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.17039,
    "h": 144.7
  },
  "luminance": 0.21364
}

Semantic roles & 50–950 ramp

primary
#1F932F
secondary
#BE50AF
accent
#40D1E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F932F

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

Preview Lab → · Contrast checker → · Palette generator →

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