#1F941E#1F941E

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

Color values

HEX#1F941E
RGBrgb(31, 148, 30)
HSLhsl(119, 66%, 35%)
HSVhsv(119, 80%, 58%)
CMYKcmyk(79.1%, 0%, 79.7%, 42%)
CIE-LABlab(53.56, -53.33, 49.33)
CIE-LCHlch(53.56, 72.65, 137.23°)
OKLaboklab(58.22% -0.1448 0.1103)
OKLCHoklch(58.22% 0.182 142.7)
XYZxyz(11.3886, 21.5635, 4.7900)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F941E #931E94
analogous
#5A941E #1F941E #1E9458
triadic
#1F941E #1E1F94 #941E1F
tetradic
#1F941E #1E5A94 #931E94 #94581E
square
#1F941E #1E5A94 #931E94 #94581E
split-complementary
#1F941E #581E94 #941E5A
monochromatic
#0A2E09 #146114 #1F941E #2AC728 #52DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F941E#FFFFFF#000000##000000
##1F941E1.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)
#8B7D2C
Tritanopia (blue-blind)
#008F7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f941e;
/* rgb */ color: rgb(31, 148, 30);
/* oklch */ color: oklch(58.2% 0.182 142.7);
Tailwind
colors: {
  custom: {
    50: '#71b564',
    500: '#1f941e',
    950: '#000000',
  },
}
SCSS
$custom: #1f941e;
$custom-light: #71b564;
$custom-dark: #000000;
JSON
{
  "hex": "#1f941e",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 119.492,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.18202,
    "h": 142.7
  },
  "luminance": 0.21565
}

Semantic roles & 50–950 ramp

primary
#1F941E
secondary
#BE4FBF
accent
#3FE9E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F941E

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

Preview Lab → · Contrast checker → · Palette generator →

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