#1F8922#1F8922

#1F8922 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.167 H 143.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8922
RGBrgb(31, 137, 34)
HSLhsl(122, 63%, 33%)
HSVhsv(122, 77%, 54%)
CMYKcmyk(77.4%, 0%, 75.2%, 46.3%)
CIE-LABlab(49.85, -49.41, 44.25)
CIE-LCHlch(49.85, 66.32, 138.15°)
OKLaboklab(55.15% -0.134 0.1002)
OKLCHoklch(55.15% 0.167 143.2)
XYZxyz(9.7988, 18.2970, 4.5283)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8922 #891F86
analogous
#51891F #1F8922 #1F8957
triadic
#1F8922 #221F89 #89221F
tetradic
#1F8922 #1F5189 #891F86 #89571F
square
#1F8922 #1F5189 #891F86 #89571F
split-complementary
#1F8922 #571F89 #891F51
monochromatic
#082509 #145716 #1F8922 #2ABB2E #4CD650

Accessibility & contrast

On white

4.51
#1F8922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#1F8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8922
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8922#FFFFFF#000000##000000
##1F89221.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8922;
/* rgb */ color: rgb(31, 137, 34);
/* oklch */ color: oklch(55.1% 0.167 143.2);
Tailwind
colors: {
  custom: {
    50: '#6eac64',
    500: '#1f8922',
    950: '#000000',
  },
}
SCSS
$custom: #1f8922;
$custom-light: #6eac64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8922",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 121.698,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.16732,
    "h": 143.2
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#1F8922
secondary
#B94BB6
accent
#42E1E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8922

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

Preview Lab → · Contrast checker → · Palette generator →

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