#1F913F#1F913F

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

Color values

HEX#1F913F
RGBrgb(31, 145, 63)
HSLhsl(137, 65%, 35%)
HSVhsv(137, 79%, 57%)
CMYKcmyk(78.6%, 0%, 56.6%, 43.1%)
CIE-LABlab(52.84, -48.80, 34.49)
CIE-LCHlch(52.84, 59.76, 144.75°)
OKLaboklab(57.72% -0.1312 0.0824)
OKLCHoklch(57.72% 0.155 147.9)
XYZxyz(11.5868, 20.8996, 8.1250)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F913F #911F71
analogous
#38911F #1F913F #1F9178
triadic
#1F913F #3F1F91 #913F1F
tetradic
#1F913F #1F3891 #911F71 #91781F
square
#1F913F #1F3891 #911F71 #91781F
split-complementary
#1F913F #781F91 #911F38
monochromatic
#092C13 #145F29 #1F913F #2AC355 #51DA77

Accessibility & contrast

On white

4.05
#1F913F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F913F#FFFFFF#000000##000000
##1F913F1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f913f;
/* rgb */ color: rgb(31, 145, 63);
/* oklch */ color: oklch(57.7% 0.155 147.9);
Tailwind
colors: {
  custom: {
    50: '#6fb276',
    500: '#1f913f',
    950: '#000000',
  },
}
SCSS
$custom: #1f913f;
$custom-light: #6fb276;
$custom-dark: #000000;
JSON
{
  "hex": "#1f913f",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 63
  },
  "hsl": {
    "h": 136.842,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57717,
    "c": 0.15496,
    "h": 147.9
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

primary
#1F913F
secondary
#BD4F9E
accent
#40B9E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F913F

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

Preview Lab → · Contrast checker → · Palette generator →

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