#1F8116#1F8116

#1F8116 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.165 H 141.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F8116
RGBrgb(31, 129, 22)
HSLhsl(115, 71%, 30%)
HSVhsv(115, 83%, 51%)
CMYKcmyk(76%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.04, -47.60, 45.67)
CIE-LCHlch(47.04, 65.97, 136.18°)
OKLaboklab(52.79% -0.1296 0.1015)
OKLCHoklch(52.79% 0.165 141.9)
XYZxyz(8.5597, 16.0488, 3.4055)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8116 #781681
analogous
#558116 #1F8116 #168142
triadic
#1F8116 #161F81 #81161F
tetradic
#1F8116 #165581 #781681 #814216
square
#1F8116 #165581 #781681 #814216
split-complementary
#1F8116 #421681 #811655
monochromatic
#061A04 #124D0D #1F8116 #2CB51F #43DD35

Accessibility & contrast

On white

4.99
#1F8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F8116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8116
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8116#FFFFFF#000000##FFFFFF
##1F81161.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#007D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8116;
/* rgb */ color: rgb(31, 129, 22);
/* oklch */ color: oklch(52.8% 0.165 141.9);
Tailwind
colors: {
  custom: {
    50: '#6ca75d',
    500: '#1f8116',
    950: '#000000',
  },
}
SCSS
$custom: #1f8116;
$custom-light: #6ca75d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8116",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 114.953,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52787,
    "c": 0.16465,
    "h": 141.9
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#1F8116
secondary
#AB3DB6
accent
#3AEEDF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #1F8116

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

Preview Lab → · Contrast checker → · Palette generator →

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