#1F911C#1F911C

#1F911C is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.180 H 142.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F911C
RGBrgb(31, 145, 28)
HSLhsl(118, 68%, 34%)
HSVhsv(118, 81%, 57%)
CMYKcmyk(78.6%, 0%, 80.7%, 43.1%)
CIE-LABlab(52.54, -52.50, 48.99)
CIE-LCHlch(52.54, 71.81, 136.98°)
OKLaboklab(57.37% -0.1426 0.1093)
OKLCHoklch(57.37% 0.18 142.5)
XYZxyz(10.8994, 20.6247, 4.5049)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F911C #8E1C91
analogous
#5A911C #1F911C #1C9154
triadic
#1F911C #1C1F91 #911C1F
tetradic
#1F911C #1C5A91 #8E1C91 #91541C
square
#1F911C #1C5A91 #8E1C91 #91541C
split-complementary
#1F911C #541C91 #911C5A
monochromatic
#092A08 #145E12 #1F911C #2AC426 #4FDC4B

Accessibility & contrast

On white

4.10
#1F911C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#1F911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F911C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F911C#FFFFFF#000000##000000
##1F911C1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f911c;
/* rgb */ color: rgb(31, 145, 28);
/* oklch */ color: oklch(57.4% 0.180 142.5);
Tailwind
colors: {
  custom: {
    50: '#70b262',
    500: '#1f911c',
    950: '#000000',
  },
}
SCSS
$custom: #1f911c;
$custom-light: #70b262;
$custom-dark: #000000;
JSON
{
  "hex": "#1f911c",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 118.462,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.17969,
    "h": 142.5
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#1F911C
secondary
#BB4ABE
accent
#3DEBE6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F911C

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

Preview Lab → · Contrast checker → · Palette generator →

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