#1F912A#1F912A

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

Color values

HEX#1F912A
RGBrgb(31, 145, 42)
HSLhsl(126, 65%, 35%)
HSVhsv(126, 79%, 57%)
CMYKcmyk(78.6%, 0%, 71%, 43.1%)
CIE-LABlab(52.63, -51.36, 43.94)
CIE-LCHlch(52.63, 67.59, 139.45°)
OKLaboklab(57.47% -0.1389 0.1006)
OKLCHoklch(57.47% 0.172 144.1)
XYZxyz(11.1076, 20.7080, 5.6017)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F912A #911F86
analogous
#4D911F #1F912A #1F9163
triadic
#1F912A #2A1F91 #912A1F
tetradic
#1F912A #1F4D91 #911F86 #91631F
square
#1F912A #1F4D91 #911F86 #91631F
split-complementary
#1F912A #631F91 #911F4D
monochromatic
#092C0D #145F1B #1F912A #2AC339 #51DA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F912A#FFFFFF#000000##000000
##1F912A1.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)
#94831B
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#008D7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f912a;
/* rgb */ color: rgb(31, 145, 42);
/* oklch */ color: oklch(57.5% 0.172 144.1);
Tailwind
colors: {
  custom: {
    50: '#70b269',
    500: '#1f912a',
    950: '#000000',
  },
}
SCSS
$custom: #1f912a;
$custom-light: #70b269;
$custom-dark: #000000;
JSON
{
  "hex": "#1f912a",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 42
  },
  "hsl": {
    "h": 125.789,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57474,
    "c": 0.17152,
    "h": 144.1
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#1F912A
secondary
#BD4FB2
accent
#40D8E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F912A

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

Preview Lab → · Contrast checker → · Palette generator →

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