#1F922D#1F922D

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

Color values

HEX#1F922D
RGBrgb(31, 146, 45)
HSLhsl(127, 65%, 35%)
HSVhsv(127, 79%, 57%)
CMYKcmyk(78.8%, 0%, 69.2%, 42.7%)
CIE-LABlab(52.99, -51.39, 43.07)
CIE-LCHlch(52.99, 67.05, 140.04°)
OKLaboklab(57.78% -0.1388 0.0992)
OKLCHoklch(57.78% 0.171 144.5)
XYZxyz(11.3168, 21.0372, 5.9463)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F922D #921F84
analogous
#4B921F #1F922D #1F9266
triadic
#1F922D #2D1F92 #922D1F
tetradic
#1F922D #1F4B92 #921F84 #92661F
square
#1F922D #1F4B92 #921F84 #92661F
split-complementary
#1F922D #661F92 #921F4B
monochromatic
#0A2D0E #14601D #1F922D #2AC43D #51DA62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F922D#FFFFFF#000000##000000
##1F922D1.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)
#95841F
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#008E7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f922d;
/* rgb */ color: rgb(31, 146, 45);
/* oklch */ color: oklch(57.8% 0.171 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b36b',
    500: '#1f922d',
    950: '#000000',
  },
}
SCSS
$custom: #1f922d;
$custom-light: #70b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f922d",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 45
  },
  "hsl": {
    "h": 127.304,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.17063,
    "h": 144.5
  },
  "luminance": 0.21039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F922D

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

Preview Lab → · Contrast checker → · Palette generator →

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