#1F922F#1F922F

#1F922F is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.169 H 144.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#1F922F
RGBrgb(31, 146, 47)
HSLhsl(128, 65%, 35%)
HSVhsv(128, 79%, 57%)
CMYKcmyk(78.8%, 0%, 67.8%, 42.7%)
CIE-LABlab(53.01, -51.18, 42.23)
CIE-LCHlch(53.01, 66.35, 140.48°)
OKLaboklab(57.8% -0.1382 0.0976)
OKLCHoklch(57.8% 0.169 144.8)
XYZxyz(11.3563, 21.0530, 6.1539)
Luminance0.2105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F922F #921F82
analogous
#48921F #1F922F #1F9269
triadic
#1F922F #2F1F92 #922F1F
tetradic
#1F922F #1F4892 #921F82 #92691F
square
#1F922F #1F4892 #921F82 #92691F
split-complementary
#1F922F #691F92 #921F48
monochromatic
#0A2D0E #14601F #1F922F #2AC43F #51DA64

Accessibility & contrast

On white

4.03
#1F922F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#1F922F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F922F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F922F#FFFFFF#000000##000000
##1F922F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#887B38
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f922f;
/* rgb */ color: rgb(31, 146, 47);
/* oklch */ color: oklch(57.8% 0.169 144.8);
Tailwind
colors: {
  custom: {
    50: '#70b36c',
    500: '#1f922f',
    950: '#000000',
  },
}
SCSS
$custom: #1f922f;
$custom-light: #70b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f922f",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 47
  },
  "hsl": {
    "h": 128.348,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.1692,
    "h": 144.8
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#1F922F
secondary
#BD50AE
accent
#40D1E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F922F

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

Preview Lab → · Contrast checker → · Palette generator →

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