#1F941C#1F941C

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

Color values

HEX#1F941C
RGBrgb(31, 148, 28)
HSLhsl(119, 68%, 35%)
HSVhsv(119, 81%, 58%)
CMYKcmyk(79.1%, 0%, 81.1%, 42%)
CIE-LABlab(53.55, -53.47, 49.96)
CIE-LCHlch(53.55, 73.17, 136.94°)
OKLaboklab(58.21% -0.1452 0.1113)
OKLCHoklch(58.21% 0.183 142.5)
XYZxyz(11.3639, 21.5536, 4.6597)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F941C #911C94
analogous
#5B941C #1F941C #1C9455
triadic
#1F941C #1C1F94 #941C1F
tetradic
#1F941C #1C5B94 #911C94 #94551C
square
#1F941C #1C5B94 #911C94 #94551C
split-complementary
#1F941C #551C94 #941C5B
monochromatic
#092D09 #146112 #1F941C #2AC726 #51DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F941C#FFFFFF#000000##000000
##1F941C1.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: #1f941c;
/* rgb */ color: rgb(31, 148, 28);
/* oklch */ color: oklch(58.2% 0.183 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b563',
    500: '#1f941c',
    950: '#000000',
  },
}
SCSS
$custom: #1f941c;
$custom-light: #71b563;
$custom-dark: #000000;
JSON
{
  "hex": "#1f941c",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 118.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.183,
    "h": 142.5
  },
  "luminance": 0.21555
}

Semantic roles & 50–950 ramp

primary
#1F941C
secondary
#BD4CC0
accent
#3DEBE7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F941C

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

Preview Lab → · Contrast checker → · Palette generator →

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