#1F913E#1F913E

#1F913E is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.7% C 0.156 H 147.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1F913E
RGBrgb(31, 145, 62)
HSLhsl(136, 65%, 35%)
HSVhsv(136, 79%, 57%)
CMYKcmyk(78.6%, 0%, 57.2%, 43.1%)
CIE-LABlab(52.83, -48.95, 34.97)
CIE-LCHlch(52.83, 60.16, 144.45°)
OKLaboklab(57.7% -0.1316 0.0834)
OKLCHoklch(57.7% 0.156 147.6)
XYZxyz(11.5591, 20.8885, 7.9792)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F913E #911F72
analogous
#39911F #1F913E #1F9177
triadic
#1F913E #3E1F91 #913E1F
tetradic
#1F913E #1F3991 #911F72 #91771F
square
#1F913E #1F3991 #911F72 #91771F
split-complementary
#1F913E #771F91 #911F39
monochromatic
#092C13 #145F28 #1F913E #2AC354 #51DA76

Accessibility & contrast

On white

4.06
#1F913E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#1F913E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F913E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F913E#FFFFFF#000000##000000
##1F913E1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938436
Deuteranopia (green-blind)
#867B45
Tritanopia (blue-blind)
#008E7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f913e;
/* rgb */ color: rgb(31, 145, 62);
/* oklch */ color: oklch(57.7% 0.156 147.6);
Tailwind
colors: {
  custom: {
    50: '#6fb276',
    500: '#1f913e',
    950: '#000000',
  },
}
SCSS
$custom: #1f913e;
$custom-light: #6fb276;
$custom-dark: #000000;
JSON
{
  "hex": "#1f913e",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 62
  },
  "hsl": {
    "h": 136.316,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.15583,
    "h": 147.6
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#1F913E
secondary
#BD4F9F
accent
#40BAE8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F913E

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

Preview Lab → · Contrast checker → · Palette generator →

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