#1F8F16#1F8F16

#1F8F16 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.180 H 142.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F8F16
RGBrgb(31, 143, 22)
HSLhsl(116, 73%, 32%)
HSVhsv(116, 85%, 56%)
CMYKcmyk(78.3%, 0%, 84.6%, 43.9%)
CIE-LABlab(51.83, -52.21, 50.11)
CIE-LCHlch(51.83, 72.37, 136.18°)
OKLaboklab(56.77% -0.1421 0.1108)
OKLCHoklch(56.77% 0.18 142.1)
XYZxyz(10.5317, 19.9929, 4.0629)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F16 #86168F
analogous
#5C8F16 #1F8F16 #168F49
triadic
#1F8F16 #161F8F #8F161F
tetradic
#1F8F16 #165C8F #86168F #8F4916
square
#1F8F16 #165C8F #86168F #8F4916
split-complementary
#1F8F16 #49168F #8F165C
monochromatic
#082506 #145A0E #1F8F16 #2AC41E #4AE13E

Accessibility & contrast

On white

4.20
#1F8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F16
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F16#FFFFFF#000000##000000
##1F8F161.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8f16;
/* rgb */ color: rgb(31, 143, 22);
/* oklch */ color: oklch(56.8% 0.180 142.1);
Tailwind
colors: {
  custom: {
    50: '#70b160',
    500: '#1f8f16',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f16;
$custom-light: #70b160;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f16",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 115.537,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.18019,
    "h": 142.1
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#1F8F16
secondary
#B83FC1
accent
#38F0E2
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #1F8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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