#1F912D#1F912D

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

Color values

HEX#1F912D
RGBrgb(31, 145, 45)
HSLhsl(127, 65%, 35%)
HSVhsv(127, 79%, 57%)
CMYKcmyk(78.6%, 0%, 69%, 43.1%)
CIE-LABlab(52.65, -51.06, 42.71)
CIE-LCHlch(52.65, 66.56, 140.09°)
OKLaboklab(57.5% -0.1379 0.0984)
OKLCHoklch(57.5% 0.169 144.5)
XYZxyz(11.1634, 20.7302, 5.8951)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F912D #911F83
analogous
#4A911F #1F912D #1F9166
triadic
#1F912D #2D1F91 #912D1F
tetradic
#1F912D #1F4A91 #911F83 #91661F
square
#1F912D #1F4A91 #911F83 #91661F
split-complementary
#1F912D #661F91 #911F4A
monochromatic
#092C0E #145F1D #1F912D #2AC33D #51DA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F912D#FFFFFF#000000##000000
##1F912D1.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)
#94831F
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f912d;
/* rgb */ color: rgb(31, 145, 45);
/* oklch */ color: oklch(57.5% 0.169 144.5);
Tailwind
colors: {
  custom: {
    50: '#6fb26b',
    500: '#1f912d',
    950: '#000000',
  },
}
SCSS
$custom: #1f912d;
$custom-light: #6fb26b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f912d",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 45
  },
  "hsl": {
    "h": 127.368,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.16944,
    "h": 144.5
  },
  "luminance": 0.20732
}

Semantic roles & 50–950 ramp

primary
#1F912D
secondary
#BD4FAF
accent
#40D3E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F912D

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

Preview Lab → · Contrast checker → · Palette generator →

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