#1F7322#1F7322

#1F7322 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.141 H 143.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1F7322
RGBrgb(31, 115, 34)
HSLhsl(122, 58%, 29%)
HSVhsv(122, 73%, 45%)
CMYKcmyk(73%, 0%, 70.4%, 54.9%)
CIE-LABlab(42.26, -41.69, 36.31)
CIE-LCHlch(42.26, 55.28, 138.94°)
OKLaboklab(48.85% -0.113 0.0836)
OKLCHoklch(48.85% 0.141 143.5)
XYZxyz(6.9841, 12.6675, 3.5901)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7322 #731F70
analogous
#46731F #1F7322 #1F734C
triadic
#1F7322 #221F73 #73221F
tetradic
#1F7322 #1F4673 #731F70 #734C1F
square
#1F7322 #1F4673 #731F70 #734C1F
split-complementary
#1F7322 #4C1F73 #731F46
monochromatic
#061807 #124314 #1F7322 #2CA330 #41CC46

Accessibility & contrast

On white

5.94
#1F7322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1F7322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7322
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7322#FFFFFF#000000##FFFFFF
##1F73221.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756817
Deuteranopia (green-blind)
#6C612A
Tritanopia (blue-blind)
#047063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7322;
/* rgb */ color: rgb(31, 115, 34);
/* oklch */ color: oklch(48.8% 0.141 143.5);
Tailwind
colors: {
  custom: {
    50: '#689c61',
    500: '#1f7322',
    950: '#000000',
  },
}
SCSS
$custom: #1f7322;
$custom-light: #689c61;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7322",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 122.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.48845,
    "c": 0.14059,
    "h": 143.5
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#1F7322
secondary
#A747A3
accent
#47DBE1
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F7322

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

Preview Lab → · Contrast checker → · Palette generator →

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