#1F8220#1F8220

#1F8220 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.1% C 0.160 H 143.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8220
RGBrgb(31, 130, 32)
HSLhsl(121, 61%, 32%)
HSVhsv(121, 76%, 51%)
CMYKcmyk(76.2%, 0%, 75.4%, 49%)
CIE-LABlab(47.44, -47.20, 42.57)
CIE-LCHlch(47.44, 63.56, 137.95°)
OKLaboklab(53.14% -0.1281 0.0965)
OKLCHoklch(53.14% 0.16 143)
XYZxyz(8.8079, 16.3599, 4.0598)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8220 #821F81
analogous
#50821F #1F8220 #1F8252
triadic
#1F8220 #201F82 #82201F
tetradic
#1F8220 #1F5082 #821F81 #82521F
square
#1F8220 #1F5082 #821F81 #82521F
split-complementary
#1F8220 #521F82 #821F50
monochromatic
#071F08 #135114 #1F8220 #2BB32C #48D349

Accessibility & contrast

On white

4.92
#1F8220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F8220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8220
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8220#FFFFFF#000000##FFFFFF
##1F82201.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8220;
/* rgb */ color: rgb(31, 130, 32);
/* oklch */ color: oklch(53.1% 0.160 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ca762',
    500: '#1f8220',
    950: '#000000',
  },
}
SCSS
$custom: #1f8220;
$custom-light: #6ca762;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8220",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 120.606,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.16034,
    "h": 143
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#1F8220
secondary
#B548B4
accent
#43E3E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #1F8220

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

Preview Lab → · Contrast checker → · Palette generator →

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