#1F941D#1F941D

#1F941D is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.2% C 0.183 H 142.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F941D
RGBrgb(31, 148, 29)
HSLhsl(119, 67%, 35%)
HSVhsv(119, 80%, 58%)
CMYKcmyk(79.1%, 0%, 80.4%, 42%)
CIE-LABlab(53.56, -53.40, 49.65)
CIE-LCHlch(53.56, 72.91, 137.09°)
OKLaboklab(58.22% -0.145 0.1108)
OKLCHoklch(58.22% 0.183 142.6)
XYZxyz(11.3760, 21.5585, 4.7238)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F941D #921D94
analogous
#5A941D #1F941D #1D9457
triadic
#1F941D #1D1F94 #941D1F
tetradic
#1F941D #1D5A94 #921D94 #94571D
square
#1F941D #1D5A94 #921D94 #94571D
split-complementary
#1F941D #571D94 #941D5A
monochromatic
#0A2E09 #146113 #1F941D #2AC727 #51DC4F

Accessibility & contrast

On white

3.95
#1F941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#1F941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F941D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F941D#FFFFFF#000000##000000
##1F941D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f941d;
/* rgb */ color: rgb(31, 148, 29);
/* oklch */ color: oklch(58.2% 0.183 142.6);
Tailwind
colors: {
  custom: {
    50: '#71b563',
    500: '#1f941d',
    950: '#000000',
  },
}
SCSS
$custom: #1f941d;
$custom-light: #71b563;
$custom-dark: #000000;
JSON
{
  "hex": "#1f941d",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 118.992,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.18251,
    "h": 142.6
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#1F941D
secondary
#BD4EBF
accent
#3EEAE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F941D

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

Preview Lab → · Contrast checker → · Palette generator →

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