#1F913B#1F913B

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

Color values

HEX#1F913B
RGBrgb(31, 145, 59)
HSLhsl(135, 65%, 35%)
HSVhsv(135, 79%, 57%)
CMYKcmyk(78.6%, 0%, 59.3%, 43.1%)
CIE-LABlab(52.79, -49.37, 36.41)
CIE-LCHlch(52.79, 61.35, 143.59°)
OKLaboklab(57.66% -0.1328 0.0864)
OKLCHoklch(57.66% 0.158 147)
XYZxyz(11.4790, 20.8565, 7.5576)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F913B #911F75
analogous
#3C911F #1F913B #1F9174
triadic
#1F913B #3B1F91 #913B1F
tetradic
#1F913B #1F3C91 #911F75 #91741F
square
#1F913B #1F3C91 #911F75 #91741F
split-complementary
#1F913B #741F91 #911F3C
monochromatic
#092C12 #145F26 #1F913B #2AC350 #51DA72

Accessibility & contrast

On white

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

On black

5.17
#1F913B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F913B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F913B#FFFFFF#000000##000000
##1F913B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938332
Deuteranopia (green-blind)
#867A42
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f913b;
/* rgb */ color: rgb(31, 145, 59);
/* oklch */ color: oklch(57.7% 0.158 147.0);
Tailwind
colors: {
  custom: {
    50: '#6fb274',
    500: '#1f913b',
    950: '#000000',
  },
}
SCSS
$custom: #1f913b;
$custom-light: #6fb274;
$custom-dark: #000000;
JSON
{
  "hex": "#1f913b",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 59
  },
  "hsl": {
    "h": 134.737,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57663,
    "c": 0.15843,
    "h": 147
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#1F913B
secondary
#BD4FA2
accent
#40BFE8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F913B

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

Preview Lab → · Contrast checker → · Palette generator →

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