#1F8620#1F8620

#1F8620 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.165 H 143.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F8620
RGBrgb(31, 134, 32)
HSLhsl(121, 62%, 32%)
HSVhsv(121, 77%, 53%)
CMYKcmyk(76.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(48.82, -48.56, 43.96)
CIE-LCHlch(48.82, 65.50, 137.85°)
OKLaboklab(54.28% -0.1318 0.0994)
OKLCHoklch(54.28% 0.165 143)
XYZxyz(9.3503, 17.4447, 4.2406)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8620 #861F85
analogous
#51861F #1F8620 #1F8654
triadic
#1F8620 #201F86 #86201F
tetradic
#1F8620 #1F5186 #861F85 #86541F
square
#1F8620 #1F5186 #861F85 #86541F
split-complementary
#1F8620 #541F86 #861F51
monochromatic
#082308 #145414 #1F8620 #2AB82C #4AD54C

Accessibility & contrast

On white

4.68
#1F8620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F8620 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8620
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8620#FFFFFF#000000##FFFFFF
##1F86201.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8620;
/* rgb */ color: rgb(31, 134, 32);
/* oklch */ color: oklch(54.3% 0.165 143.0);
Tailwind
colors: {
  custom: {
    50: '#6daa63',
    500: '#1f8620',
    950: '#000000',
  },
}
SCSS
$custom: #1f8620;
$custom-light: #6daa63;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8620",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 120.583,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.16503,
    "h": 143
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#1F8620
secondary
#B849B7
accent
#42E4E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8620

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

Preview Lab → · Contrast checker → · Palette generator →

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