#1F912E#1F912E

#1F912E is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.169 H 144.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F912E
RGBrgb(31, 145, 46)
HSLhsl(128, 65%, 35%)
HSVhsv(128, 79%, 57%)
CMYKcmyk(78.6%, 0%, 68.3%, 43.1%)
CIE-LABlab(52.66, -50.95, 42.28)
CIE-LCHlch(52.66, 66.21, 140.31°)
OKLaboklab(57.51% -0.1376 0.0976)
OKLCHoklch(57.51% 0.169 144.6)
XYZxyz(11.1828, 20.7380, 5.9977)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F912E #911F82
analogous
#49911F #1F912E #1F9167
triadic
#1F912E #2E1F91 #912E1F
tetradic
#1F912E #1F4991 #911F82 #91671F
square
#1F912E #1F4991 #911F82 #91671F
split-complementary
#1F912E #671F91 #911F49
monochromatic
#092C0E #145F1E #1F912E #2AC33E #51DA63

Accessibility & contrast

On white

4.08
#1F912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#1F912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F912E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F912E#FFFFFF#000000##000000
##1F912E1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948321
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f912e;
/* rgb */ color: rgb(31, 145, 46);
/* oklch */ color: oklch(57.5% 0.169 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fb26c',
    500: '#1f912e',
    950: '#000000',
  },
}
SCSS
$custom: #1f912e;
$custom-light: #6fb26c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f912e",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 127.895,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57512,
    "c": 0.16872,
    "h": 144.6
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#1F912E
secondary
#BD4FAE
accent
#40D2E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F912E

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

Preview Lab → · Contrast checker → · Palette generator →

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