#1F912C#1F912C

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

Color values

HEX#1F912C
RGBrgb(31, 145, 44)
HSLhsl(127, 65%, 35%)
HSVhsv(127, 79%, 57%)
CMYKcmyk(78.6%, 0%, 69.7%, 43.1%)
CIE-LABlab(52.64, -51.16, 43.12)
CIE-LCHlch(52.64, 66.91, 139.87°)
OKLaboklab(57.49% -0.1383 0.0992)
OKLCHoklch(57.49% 0.17 144.3)
XYZxyz(11.1443, 20.7226, 5.7949)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F912C #911F84
analogous
#4B911F #1F912C #1F9165
triadic
#1F912C #2C1F91 #912C1F
tetradic
#1F912C #1F4B91 #911F84 #91651F
square
#1F912C #1F4B91 #911F84 #91651F
split-complementary
#1F912C #651F91 #911F4B
monochromatic
#092C0D #145F1D #1F912C #2AC33B #51DA60

Accessibility & contrast

On white

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

On black

5.14
#1F912C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F912C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F912C#FFFFFF#000000##000000
##1F912C1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#008D7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f912c;
/* rgb */ color: rgb(31, 145, 44);
/* oklch */ color: oklch(57.5% 0.170 144.3);
Tailwind
colors: {
  custom: {
    50: '#6fb26a',
    500: '#1f912c',
    950: '#000000',
  },
}
SCSS
$custom: #1f912c;
$custom-light: #6fb26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f912c",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 44
  },
  "hsl": {
    "h": 126.842,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.17015,
    "h": 144.3
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#1F912C
secondary
#BD4FB0
accent
#40D5E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F912C

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

Preview Lab → · Contrast checker → · Palette generator →

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