#1F8916#1F8916

#1F8916 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.174 H 142.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F8916
RGBrgb(31, 137, 22)
HSLhsl(115, 72%, 31%)
HSVhsv(115, 84%, 54%)
CMYKcmyk(77.4%, 0%, 83.9%, 46.3%)
CIE-LABlab(49.79, -50.26, 48.23)
CIE-LCHlch(49.79, 69.66, 136.18°)
OKLaboklab(55.07% -0.1368 0.1069)
OKLCHoklch(55.07% 0.174 142)
XYZxyz(9.6550, 18.2394, 3.7706)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8916 #801689
analogous
#588916 #1F8916 #168946
triadic
#1F8916 #161F89 #89161F
tetradic
#1F8916 #165889 #801689 #894616
square
#1F8916 #165889 #801689 #894616
split-complementary
#1F8916 #461689 #891658
monochromatic
#072005 #13540E #1F8916 #2BBE1E #47DF3A

Accessibility & contrast

On white

4.52
#1F8916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#1F8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8916
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8916#FFFFFF#000000##000000
##1F89161.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8916;
/* rgb */ color: rgb(31, 137, 22);
/* oklch */ color: oklch(55.1% 0.174 142.0);
Tailwind
colors: {
  custom: {
    50: '#6eac5f',
    500: '#1f8916',
    950: '#000000',
  },
}
SCSS
$custom: #1f8916;
$custom-light: #6eac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8916",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 115.304,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.17361,
    "h": 142
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#1F8916
secondary
#B33EBD
accent
#39EFE1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #1F8916

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

Preview Lab → · Contrast checker → · Palette generator →

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