#1F8322#1F8322

#1F8322 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.160 H 143.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8322
RGBrgb(31, 131, 34)
HSLhsl(122, 62%, 32%)
HSVhsv(122, 76%, 51%)
CMYKcmyk(76.3%, 0%, 74%, 48.6%)
CIE-LABlab(47.80, -47.37, 42.15)
CIE-LCHlch(47.80, 63.40, 138.34°)
OKLaboklab(53.45% -0.1284 0.0959)
OKLCHoklch(53.45% 0.16 143.3)
XYZxyz(8.9695, 16.6384, 4.2519)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8322 #831F80
analogous
#4E831F #1F8322 #1F8354
triadic
#1F8322 #221F83 #83221F
tetradic
#1F8322 #1F4E83 #831F80 #83541F
square
#1F8322 #1F4E83 #831F80 #83541F
split-complementary
#1F8322 #541F83 #831F4E
monochromatic
#082008 #135215 #1F8322 #2BB42F #49D44D

Accessibility & contrast

On white

4.85
#1F8322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8322
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8322#FFFFFF#000000##FFFFFF
##1F83221.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867612
Deuteranopia (green-blind)
#7B6E2C
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8322;
/* rgb */ color: rgb(31, 131, 34);
/* oklch */ color: oklch(53.4% 0.160 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ca863',
    500: '#1f8322',
    950: '#000000',
  },
}
SCSS
$custom: #1f8322;
$custom-light: #6ca863;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8322",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 121.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.16026,
    "h": 143.3
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#1F8322
secondary
#B648B2
accent
#43E0E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8322

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

Preview Lab → · Contrast checker → · Palette generator →

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