#1F912F#1F912F

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

Color values

HEX#1F912F
RGBrgb(31, 145, 47)
HSLhsl(128, 65%, 35%)
HSVhsv(128, 79%, 57%)
CMYKcmyk(78.6%, 0%, 67.6%, 43.1%)
CIE-LABlab(52.67, -50.84, 41.86)
CIE-LCHlch(52.67, 65.86, 140.54°)
OKLaboklab(57.52% -0.1373 0.0969)
OKLCHoklch(57.52% 0.168 144.8)
XYZxyz(11.2028, 20.7460, 6.1027)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F912F #911F81
analogous
#48911F #1F912F #1F9168
triadic
#1F912F #2F1F91 #912F1F
tetradic
#1F912F #1F4891 #911F81 #91681F
square
#1F912F #1F4891 #911F81 #91681F
split-complementary
#1F912F #681F91 #911F48
monochromatic
#092C0E #145F1F #1F912F #2AC33F #51DA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F912F#FFFFFF#000000##000000
##1F912F1.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)
#948322
Deuteranopia (green-blind)
#877A38
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f912f;
/* rgb */ color: rgb(31, 145, 47);
/* oklch */ color: oklch(57.5% 0.168 144.8);
Tailwind
colors: {
  custom: {
    50: '#6fb26c',
    500: '#1f912f',
    950: '#000000',
  },
}
SCSS
$custom: #1f912f;
$custom-light: #6fb26c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f912f",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 128.421,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57522,
    "c": 0.168,
    "h": 144.8
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#1F912F
secondary
#BD4FAD
accent
#40D0E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F912F

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

Preview Lab → · Contrast checker → · Palette generator →

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