#1F8622#1F8622

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

Color values

HEX#1F8622
RGBrgb(31, 134, 34)
HSLhsl(122, 62%, 32%)
HSVhsv(122, 77%, 53%)
CMYKcmyk(76.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(48.83, -48.39, 43.20)
CIE-LCHlch(48.83, 64.87, 138.24°)
OKLaboklab(54.3% -0.1312 0.0981)
OKLCHoklch(54.3% 0.164 143.2)
XYZxyz(9.3783, 17.4559, 4.3881)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8622 #861F83
analogous
#4F861F #1F8622 #1F8656
triadic
#1F8622 #221F86 #86221F
tetradic
#1F8622 #1F4F86 #861F83 #86561F
square
#1F8622 #1F4F86 #861F83 #86561F
split-complementary
#1F8622 #561F86 #861F4F
monochromatic
#082309 #145415 #1F8622 #2AB82F #4AD54E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8622#FFFFFF#000000##FFFFFF
##1F86221.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)
#897910
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8622;
/* rgb */ color: rgb(31, 134, 34);
/* oklch */ color: oklch(54.3% 0.164 143.2);
Tailwind
colors: {
  custom: {
    50: '#6daa64',
    500: '#1f8622',
    950: '#000000',
  },
}
SCSS
$custom: #1f8622;
$custom-light: #6daa64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8622",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 121.748,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.1638,
    "h": 143.2
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#1F8622
secondary
#B849B4
accent
#42E1E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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