#1F913A#1F913A

#1F913A is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.6% C 0.159 H 146.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#1F913A
RGBrgb(31, 145, 58)
HSLhsl(134, 65%, 35%)
HSVhsv(134, 79%, 57%)
CMYKcmyk(78.6%, 0%, 60%, 43.1%)
CIE-LABlab(52.78, -49.50, 36.89)
CIE-LCHlch(52.78, 61.74, 143.31°)
OKLaboklab(57.65% -0.1332 0.0873)
OKLCHoklch(57.65% 0.159 146.8)
XYZxyz(11.4533, 20.8462, 7.4223)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F913A #911F76
analogous
#3D911F #1F913A #1F9173
triadic
#1F913A #3A1F91 #913A1F
tetradic
#1F913A #1F3D91 #911F76 #91731F
square
#1F913A #1F3D91 #911F76 #91731F
split-complementary
#1F913A #731F91 #911F3D
monochromatic
#092C12 #145F26 #1F913A #2AC34E #51DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F913A#FFFFFF#000000##000000
##1F913A1.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)
#938331
Deuteranopia (green-blind)
#867A41
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f913a;
/* rgb */ color: rgb(31, 145, 58);
/* oklch */ color: oklch(57.6% 0.159 146.8);
Tailwind
colors: {
  custom: {
    50: '#6fb273',
    500: '#1f913a',
    950: '#000000',
  },
}
SCSS
$custom: #1f913a;
$custom-light: #6fb273;
$custom-dark: #000000;
JSON
{
  "hex": "#1f913a",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 58
  },
  "hsl": {
    "h": 134.211,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.15928,
    "h": 146.8
  },
  "luminance": 0.20848
}

Semantic roles & 50–950 ramp

primary
#1F913A
secondary
#BD4FA3
accent
#40C0E8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F913A

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

Preview Lab → · Contrast checker → · Palette generator →

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